Hi all,
i am new to AJAX, so need some help
I want to create simple feedback (comment) form, base on AJAX.
So, I have my HTML form, and even have my SQL database, and PHP script.
All is working quite ok, but I need to make it AJAX - the main reason is, that I DONT NEED PAGE TO BE RELOADED.
What can You suggest?
If needed, I will post all the codes here.
Thx...
User Profile
Collapse
-
Form element in DIV - 1px indent top and bottom in IE
hi all,
take a look to the file.
this is form in table, located in DIV layer.
on the left is FF and on the right is IE.
as You see, FF displays it correctly and IE has 1px on the top and bottom.
here is my code:
...Code:<div align="center"> <div style="width:600px; margin:0px; padding:0px"> <table
-
thanx a lot!!! -
no, this did not help.
document.write ("<div style=\"backgro und-image: url('../pics/site/"+d+".jpg') \"></div>") - this is also not helping..
can You please suggest, how to write in the correct height and width? then i'll try again.Leave a comment:
-
To write a code inside DIV layer
hi all,
i have my header, where i do the following code to call a random image from the site folder:
but now i want to...Code:<script language="javascript" type="text/javascript"> p=65*Math.random(); d=parseInt(p); document.write ("<table background='../pics/site/"+d+".jpg'></table>"); </script> -
i have optimised them, so now they are about 5 mb heavy.
what does the float divs mean? what is the difference between invisible?Leave a comment:
-
preload images?
hi all,
i have 50 hidden div layers with images insided, each is appr. 200kb big.
i use this script to show/hide them, when neccesary:
...Code:function init() { IE = (document.all) NC = (document.layers) Opera = (document.getElementById) } function hide(id) { init(); if(IE) eval('document.all[id].style.visibility = "hidden"') if(NC) -
i use tables, not the layers yet.
in strict mode there are some padding problems, so i changed it to <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">
<html xmlns="http://www.w3.org/1999/xhtml">
you think i might have a lot of problems with it?Leave a comment:
-
i will use
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">
<html xmlns="http://www.w3.org/1999/xhtml">
is this ok? cuz in strict i some table problems on the page......Leave a comment:
-
yes. this helped, thanks a lot, man!
as i understood, the problem was "javascript:voi d(0)" - i removed it once from the code, and my problem repeated....Leave a comment:
-
here is my complete code:
...Code:ok. here is the complete code: ------------------------------------------------------------------- <html> <head> <script language=javascript type='text/javascript'> function hideDiv() { if (document.getElementById) { // DOM3 = IE5, NS6 document.getElementById('hideShow').style.visibilityLeave a comment:
-
Firefox 2.0 problem with Javascript
hi all,
i do the following JS code:
...Code:<script language="javascript"> function hideLevel(id) { var thisLevel = document.getElementById(id); thisLevel.style.display = "none"; } function showLevel(id) { var thisLevel = document.getElementById(id); if ( thisLevel.style.display == "none") { thisLevel.style.display
No activity results to display
Show More
Leave a comment: