#1
  1. film at 11
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Location
    Portland, OR
    Posts
    413
    Rep Power
    15
    i have some <div> layers in a web page, and an image with the attribute
    onMouseover="popUp('thePopup');"
    where thePopup is the id of one of my layers. here is the popUp function:
    function popUp(layerName)
    {
    if(document.layers)
    { document.layers[layerName].visibility="show"; }

    else
    { document.all[layerName].style.visibility="visible"; }

    }

    this works in IE but not in netscape. what am i doing wrong?
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Location
    austin, tx, usa
    Posts
    1
    Rep Power
    0
    i have a similar problem. i call a function inside a div tag that forwards to a url on a change in a select pulldown menu. it won't work in netscape unless i get rid of the style attribute in the div tag...

    what the %$#@...

Similar Threads

  1. PHP and Javascript Dynamic Checkbox Problems
    By rck444 in forum JavaScript Development
    Replies: 5
    Last Post: June 5th, 2007, 09:38 PM
  2. DHTML and Javascript Problems
    By jmspargu in forum JavaScript Development
    Replies: 3
    Last Post: September 30th, 2003, 05:31 PM
  3. javascript document.write problems
    By CuTTeR in forum JavaScript Development
    Replies: 2
    Last Post: April 20th, 2003, 10:38 PM
  4. Problems using JavaScript and calculations
    By nebuchadnezzar in forum JavaScript Development
    Replies: 5
    Last Post: April 14th, 2003, 05:12 PM
  5. changing layer properties in Javascript
    By minaz in forum JavaScript Development
    Replies: 3
    Last Post: July 16th, 1999, 01:20 AM

IMN logo majestic logo threadwatch logo seochat tools logo