open a modal without using anchors?
Example
<a href="#largeImage" id="link">Example</a>
Preferred method
<a href="#" onclick="new link">Example 2</a>
The link is then to open a div which contains content.
<div id="largeImage">content</div>
Posted September 10th, 2007 at 7:32pm by arrow79
Basically i want the contents of the div, seen on the site, if no css is used. When css is used it will be hidden. I need to do this cause i have some effects i need on the content and they will not work unless the content is loaded and hidden with css.
Posted September 10th, 2007 at 7:35pm by arrow79
hopeless that no one bothers to help
Posted September 11th, 2007 at 1:59am by arrow79
Try browsing the forum first for past answers to your question. Nobody's being paid to answer queries here, it's all communal and people helping out when they have some spare time.
You'll generally need to be patient for a few days, rather than a few hours, in order to get a response.
Try this: http://livepipe.net/community/general/190
You can call the open() function to open a modal procedurally, whether or not it's linked to an anchor element.
Posted September 11th, 2007 at 4:26am by bbodien
Thank you for your reply, i did look through forum, could not find what i needed. Your reference still does not help me.
Posted September 11th, 2007 at 6:50pm by arrow79
So where do i put the open() function on the link itself, replacing the anchor, or in the script for modal?
Posted September 11th, 2007 at 6:51pm by arrow79
What event opens the modal? On page load? When an element other than an anchor is clicked? In the event handler for whatever event that is, that's where you'd put the call to open().
Posted September 12th, 2007 at 6:18am by bbodien
Is it possible to open a modal without using anchors?
I need an answer ASAP trying to finish a project this week, help would be greatly appreciated.
Posted September 10th, 2007 at 6:07pm by arrow79