SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Guru
    Join Date
    Dec 2008
    Posts
    692
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    not bale to open popup div

    How To Do a CSS PopUp Without Opening a New Window

    i am using the code fom above for popup div
    but getting error

    object required in IE

    & poupdiv is null in FF

  2. #2
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,526
    Mentioned
    83 Post(s)
    Tagged
    3 Thread(s)
    Quote Originally Posted by svibuk View Post
    i am using the code fom above for popup div
    but getting error
    Show us what you're doing then, because the demo code from that site works without a problem.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  3. #3
    SitePoint Guru
    Join Date
    Dec 2008
    Posts
    692
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hi
    ya demo code works properly

    i have just copied & pasted whtever is given in the site

    i have copied the script in csspopup.js file

    &
    <div id="blanket" style="display:none;"></div>
    <div id="popUpDiv" style="display: none;">
    <a href="#" onclick="popup('popUpDiv')">Close</a>
    </div>

  4. #4
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,526
    Mentioned
    83 Post(s)
    Tagged
    3 Thread(s)
    Quote Originally Posted by svibuk View Post
    ya demo code works properly
    i have just copied & pasted whtever is given in the site
    i have copied the script in csspopup.js file
    You still haven't provided enough info for us to help you.

    Do you have a link to a test page that demonstrates the problem?
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  5. #5
    SitePoint Guru
    Join Date
    Dec 2008
    Posts
    692
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks i got it

    its the case sensitive issue , a typing mistake

    thnaks it was a typing error
    its solved


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
  •