Page 1 of 1

Move Button

Posted: Sun Oct 26, 2008 3:49 pm
by Graham
Hi David,

Can you help with this one please?

At my site I have a button that when pressed displays a new window to help members with rhyme, what I would like is to lose the button and have it appear as a text link above the Login text.
Below is the code.

Code: Select all

      <form action="http://www.poem-n-verse.co.uk/rhymedictionary.html" target="popup" onclick="window.open('rhymedictionary.html', 'popup', 'width=900,height=400'); return false">
                <input type="submit" value="Rhyming Dictionary">
</form>
Thanks for looking
Graham

Re: Move Button

Posted: Sun Oct 26, 2008 11:37 pm
by DavidIQ
Try this:

Code: Select all

<a href="javascript:void(0)" onclick="window.open('http://www.poem-n-verse.co.uk/rhymedictionary.html', 'popup', 'width=900,height=400');">Rhyming Dictionary</a>

Re: Move Button

Posted: Mon Oct 27, 2008 7:30 am
by Graham
Cheers David,

Worked like a dream and looks loads better. :)

Graham

Re: Move Button

Posted: Mon Oct 27, 2008 8:10 am
by DavidIQ
You're welcome :D