User Profile

Collapse

Profile Sidebar

Collapse
blobb
blobb
Last Activity: May 24 '07, 11:06 AM
Joined: Apr 19 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • blobb
    started a topic AJAX comments form

    AJAX comments form

    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...
    See more | Go to post

  • 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
    ...
    See more | Go to post

  • blobb
    replied to To write a code inside DIV layer
    thanx a lot!!!
    See more | Go to post

    Leave a comment:


  • blobb
    replied to To write a code inside DIV layer
    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.
    See more | Go to post

    Leave a comment:


  • blobb
    started a topic To write a code inside DIV layer

    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:

    Code:
    <script language="javascript" type="text/javascript"> 
    
    p=65*Math.random(); 
    d=parseInt(p); 
    document.write ("<table background='../pics/site/"+d+".jpg'></table>"); 
    
    </script>
    but now i want to...
    See more | Go to post

  • blobb
    replied to preload images?
    i have optimised them, so now they are about 5 mb heavy.

    what does the float divs mean? what is the difference between invisible?
    See more | Go to post

    Leave a comment:


  • blobb
    started a topic preload images?

    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)
    ...
    See more | Go to post

  • blobb
    replied to Firefox 2.0 problem with Javascript
    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?
    See more | Go to post

    Leave a comment:


  • blobb
    replied to Firefox 2.0 problem with Javascript
    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......
    See more | Go to post

    Leave a comment:


  • blobb
    replied to Firefox 2.0 problem with Javascript
    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....
    See more | Go to post

    Leave a comment:


  • blobb
    replied to Firefox 2.0 problem with Javascript
    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.visibility
    ...
    See more | Go to post

    Leave a comment:


  • blobb
    started a topic Firefox 2.0 problem with Javascript

    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
    ...
    See more | Go to post
No activity results to display
Show More
Working...