Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: No Javascript

  1. #1
    New to the CF scene
    Join Date
    May 2008
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    No Javascript

    hi,
    I need to create a popup on a button click that will show an editable list as an php page. i can create it using javascript, but since it is an important part i dont want to use javascript for this to avoid any javascript popup blockers. Although i know that very few block it now but i still dont want to take ne risk.

    So is there a way i can create a popup window without using javascript?
    If ne body knows plz tell me.

    Thnx.

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,637
    Thanks
    6
    Thanked 1,004 Times in 977 Posts
    No, it’s not possible. But it’s also nothing to worry about. If you follow the principles of progressive enhancement or graceful degradation in combination with unobtrusive JavaScript you would provide a plain link to a separate page with the editable list, and you would just enhance that functionality by calling the page with an AJAX request upon clicking the link for those browsers that support it (so you don’t go to the new page but the new page is loaded as DHTML popup on the current page).

    It’s all just a mater of error checking. You could implement a check whether or not a request is blocked by whatever software, and based on that display the plain link to the other site or the DHTML popup.

  • #3
    Senior Coder rafiki's Avatar
    Join Date
    Aug 2006
    Location
    Floating around somewhere...
    Posts
    2,046
    Thanks
    19
    Thanked 42 Times in 42 Posts


  •  

    Posting Permissions

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