Aneesah
08-21-2004, 12:30 PM
Hi, I need some help with this poll on my page -->http://aneesah.pixelled.com
The poll is actually in an iframe, so when the Vote button is clicked, the results open up in that same frame. I've added target="_blank" on that button, but I suppose it doesn't work like that.
The poll itself is a remotely hosted thing, and there's no options to open in new window there.
Anybody has an answer?
Flitt7o2
08-21-2004, 08:36 PM
hot dang, i did it! alright, in the code of the poll, where it says
<input type=submit name=button value="Vote" target="_blank" style="border:1px dashed #E4A27A; font-family:Verdana, Arial; color:#8CABD4; background-color: #FFFFF2; font-weight: bold">
take out that target="_blank", it wont do anything there.
Change the code to this
<form method="get" action="poll.html target="_blank"><input type=submit name=button value="Vote" style="border:1px dashed #E4A27A; font-family:Verdana, Arial; color:#8CABD4; background-color: #FFFFF2; font-weight: bold"></form>
im pretty sure it will work. target only works in that <form> part
Aneesah
08-22-2004, 02:49 AM
Ooh really? It works? I'm gonna try it right after this, so thanks a lot!
Aneesah
08-22-2004, 02:59 AM
Hmmm, it still didn't work. I decided to not make it open in a new window, but that big frame, named "frame". But it still didn't work...
Any other ideas? :(
Aneesah
08-22-2004, 03:05 AM
No actually, it totally destroyed the whole poll! I tried it out in Dreamweaver and yeah, the whole table didn't appear. It's probably those </form> thingies...
Sigh.
Edit
I figured it out!!! Yeah!
I put the "target=" the<form> tag already in there, at the top! And it worrrkkked!
Thanks SO much!
*hugs*
Aneesah
08-22-2004, 03:07 AM
I figured it out!!! Yeah!
I put the "target=" the<form> tag already in there, at the top! And it worrrkkked!
Thanks SO much!
*hugs*
Flitt7o2
08-22-2004, 05:46 AM
no problem, glad to help :dance: