Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Client-side Scripting _ Simple Anchor/Link Syntax Issue

Posted by: ideagasms Apr 1 2012, 03:38 AM

I'm trying to get this simple contact form to pop, but it just won't listen. dry.gif

Click here and you'll see this form: http://www.ideagasms.net/contact-us/template.html
So on that page, it says, If you would like to contact us for more information, Click Here. <---click there

When you click it, the form will open up, and all is well. The problem is I don't want
people to have to go to this URL, instead I want to be able to pop open this form
by associating it with whatever I want on my main site, such as a div, or an image,
or whatever.

For example, right now I'm trying to pop it via the footer, here: http://www.ideagasms.net
Scroll down and look for the Contact Us anchor/link. In footer, I'm using the line,

CODE
<a href="http://www.ideagasms.net/contact-us/template.html#" id="contact-link">Contact Us</a>

but it's just not understanding me. ninja.gif

Thank you. happy.gif

Posted by: Christian J Apr 1 2012, 04:33 AM

On http://www.ideagasms.net/ the JQuery script's click event is used both on lines 80 and 340.

BTW you don't need links to use onclick events.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)