SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    May 2004
    Location
    London
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Mac JavaScript onClick Help

    Need the following Script to function on Mac it only work in IE browser?

    The following DHTML drop down works in IE5 only. Does anyone know how to make this work for the Mac. Would really appreciate the help…..

    var ie5=(document.getElementById&&navigator.appName.indexOf("Internet Explorer")!=-1)


    if (ie5){
    document.write('<span style="position:relative;width:150px;height:20px;border:1px solid black;font:bold 10pt Verdana;padding:2px" onClick="showhide(1);event.cancelBubble=1" ><span style="cursor:hand;width:100%">Script Categories <img src="tridown.gif"></span>')

    document.write('<div id="innermenu" style="position:absolute;left:2;top:16;width:240px;height:100px;border:1px solid black;background-color:white;overflow-y:scroll;visibility:hidden;">')
    }

  2. #2
    SitePoint Addict
    Join Date
    May 2000
    Posts
    313
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This is not specific help, but it may give you some ideas:
    http://developer.apple.com/internet/javascript/


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •