Get exclusive CAP network offers from top brands

View CAP Offers

att html experts, easy one for ya

[bsa_pro_ad_space id=2]
  • This topic is empty.
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #656963
    Anonymous
    Inactive

    Not 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 :)

    #656964
    Anonymous
    Guest

    thanks 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.

    :)

    #656971
    Anonymous
    Inactive

    Oh, 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…

    #657020
    Anonymous
    Guest

    since 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.

    #657027
    Anonymous
    Guest

    well 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.

    #657030
    Anonymous
    Inactive

    This should work as well Steve.

    Code:
    #657032
    Anonymous
    Inactive

    Originally 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

    tags?
    #657041
    Anonymous
    Inactive
    Quote:
    …. 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… :)

    #657225
    Anonymous
    Guest

    Hi 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.

    #657242
    Anonymous
    Inactive

    Originally 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?

    #657249
    Anonymous
    Guest

    yes 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.

    #657271
    Anonymous
    Inactive

    If you ever need to find quick codes for something like that again, http://www.braincode.com has some pretty decent examples of javascripts there.

Viewing 12 posts - 1 through 12 (of 12 total)