Modal Window

Discussion in 'JavaScript' started by rvaibhav, Jan 18, 2011.

  1. #1
    Hi Guys/Gals,

    I am looking for a modal window API to add to my website.

    I have tried to program it myself, but it worked well in mozilla, but not in IE.

    Does somebody know of it?
    The modal window should be like I can customize the div in the api so that I can use it for forms.

    I would appreciate any input.

    Thanks in Advance
     
    rvaibhav, Jan 18, 2011 IP
  2. rvaibhav

    rvaibhav Peon

    Messages:
    33
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I am using PHP for the server side.

    I am using jquery framework to make all calls to the serverside.
    Also if this can be done using plain javascript, html and css then it would be great...
     
    rvaibhav, Jan 18, 2011 IP
  3. fardesi

    fardesi Peon

    Messages:
    17
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I would suggest the JQuery UI Dialog... or BlockUI plugin for jQuery.
     
    fardesi, Jan 19, 2011 IP
  4. buddyborg

    buddyborg Guest

    Messages:
    36
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    http://tinyurl.com/5rapov6
    I would use the dojo floatingpane. its possible to declare it with an href value. this will tell dojo to call a serverside page and return the XMLHttp data back, an ajax object. Then use the refresh() method on occasion when you need content in the window to change.
    Using this widget is easy. modifying its template isn't. Thats a pitfall of it. the dojo css is crazy to work with. I use firebug and just override rules.
     
    buddyborg, Jan 19, 2011 IP