- This topic is empty.
-
AuthorPosts
-
November 1, 2004 at 8:20 am #656963
Anonymous
InactiveNot being a big expert on Javascript, I’m just going to shoot from the hip… LOL…
window.open generally opens a new window. I have a feeling you need to do something with document.location or something similar.
Alternately, you might be able to specify a target for the window.open.
Just a guess – like you, I have to look all this stuff up and test it… but perhaps this will narrow down the problem a bit
November 1, 2004 at 8:29 am #656964Anonymous
Guestthanks Spear, ya I tried taking out the window open part; but then it didn’t do anything at all when I clicked the link.
lol, of course I’m using frontpage in the “preview” mode to check; maybe that is screwing it up somehow.
I figured I’d just ask as I’m sure there is somebody here who will be able to look at that and go; “well ya dummy, you gotta replace this with that”…
and then I’ll be happily on my ignorant but blissful way again.
November 1, 2004 at 1:45 pm #656971Anonymous
InactiveOh, I know what you want now!
You want to do what my jackpot tickers do – upon selecting the casino, the page changes.
Gimme a sec while I look up my old code LMAO…
This is my old code – which, by the way, opens in a new window like yours…
Code:Notice the part in there that says ‘_blank’ – you need to change that to ‘_self’. Plus – you will need to stitch that code back up into one line, I broke it up just so that it wouldn’t screw up the way the forum looked.
Let me know if that works. It’s been so damn long since I abandoned my jackpot tickers (since everyone else and their entire extended family has copied them) that I completely forgot…
November 1, 2004 at 9:23 pm #657020Anonymous
Guestsince everyone else and their entire extended family has copied them
😮 :blush: :wavey: (insert smilie that tugs on collar uncomfortably here)
…. guilty as charged.
but in my defense; I stole it from RB’s tickers and I can’t imagine where they got it …

Thanks much Bud. If you ever need help with something I’m qualified for; like cooking french fries or doing a poor job cleaning the bathroom; let me know. I’m your man!
other than that; I’m probably worthless to you; … so you know I fully appreciate the situation …and your taking time to help me out.
CHEERS! to you sir.
S.
November 1, 2004 at 9:57 pm #657027Anonymous
Guestwell wait a min.
the part in there that says ‘_blank’ – you need to change that to ‘_self’.
I can see it in the code you have given, but I can’t see it in the code I gave as an example; which wouldn’t be a problem but I can’t seem to get your code to work in place of what I have;
but I’m continuing to experiment to find a way to make it work.
any other suggestions?
thanks again.
S.
November 1, 2004 at 10:18 pm #657030Anonymous
InactiveThis should work as well Steve.
Code:November 1, 2004 at 10:25 pm #657032Anonymous
InactiveOriginally posted by bb1webs
but I’m continuing to experiment to find a way to make it work.Did you make sure you tested it within
November 2, 2004 at 5:57 am #657041Anonymous
InactiveQuote:…. guilty as charged.Not a problem, it’s not like you copied them from me – and after all, Jackpot Madness and Referback and other operator are handing them out like free candy… LOL…
As I surmised before, window.open DOES open new windows, so my code is wrong… LOL… sorry for making you jump through hoops for nothing.
I now typically use PHP to do all this work – so I did a little research…
try replacing the window.open code with
top.location.href=URL
where URL is probably the equivalent of this.value – I’d need to see more of your code to be sure.
BTW, I could use some french fries about now…
November 4, 2004 at 4:11 pm #657225Anonymous
GuestHi again all.
Well I finally figured out that if I’d asked the right question, i’d surely have received different replies than I did.
what I was wanting to create was a drop-down box. Quite easy after I knew what I was looking for.
But I didn’t word the question right. Sometimes I feel like a cave man that in opt of using words unknown to me; that i just grunt and point at what it is I want.
Unfortuneately this was one time I couldn’t even describe my “grunt” good enough to suffice.
lol anyway, in case anybody was curious as to what the hell I was talking about;…. now you know.

thanks again everybody.
November 4, 2004 at 9:10 pm #657242Anonymous
InactiveOriginally posted by bb1webs
what I was wanting to create was a drop-down box. Quite easy after I knew what I was looking for.I think the select and option tags informed us all of that

So did you get it working?
November 4, 2004 at 11:36 pm #657249Anonymous
Guestyes ty, it was easy.
lol I just assumed those things were universal; and it never crossed my mind that anything would be different except for the urls.
I’m sooo assbackwards sometimes its not funny. I should have took the hint when there were several different options offered to me.
Thanks all.
November 5, 2004 at 2:40 pm #657271Anonymous
InactiveIf you ever need to find quick codes for something like that again, http://www.braincode.com has some pretty decent examples of javascripts there.
-
AuthorPosts