Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript CSS http link query

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #208602
    Seanhegs
    Participant

    Hello all

    I’m putting together a banner ad.
    I’m creating a bit of simple animation and there is a link for the user to click to go to an external site.

    Now I just usually insert a href link.

    But now the client as asked I just include a standard click tag as the URLs will be added at a later stage once they go to the client. It needs to be built as a https.
    The reference I have been given is ‘on(release):{ getURL(_root.clickTag,”_blank”); }

    Sorry but this means nothing to me. I’m presuming this is jQuery??
    Not sure how I use this?? I sense this is pretty simple, but I am new to this area.

    Can anyone help?? Would be so grateful.

    Thanks

    Sean

    #208604
    Seanhegs
    Participant

    Thanks Paulie.

    The client as requested a html file, and I haven’t used flash in any case.

    Can I insert link in html file to the JS file??

    Sorry for being a little slow, but I am totally new to this.

    Thanks again.

    Sean

    #208620
    Seanhegs
    Participant

    Hello to you both.

    I appreciate your time.

    I’ve been working on the simple animations all day and they are signed off. I need now to resolve the issue of the banner click.
    The user will click on the ad and be taken to a new webpage.

    For this stage, I need to include a standard click tag as the URLs will be added at a later stage. The click tag will need to be built as a https.

    So I need to load the enabler. This will be copied into the footer of my page. See below:

    <script type=”text/javascript” src=”https://secure-ds.serving-sys.com/BurstingScript/EBLoader.js”></script&gt;

    Then I have to insert the JS to make a click call. See below:

    EB.clickthrough();

    This is the code I have to insert the click into:

    <!DOCTYPE html>
    <html lang="en">
        <head>
            <title>600x300 banner</title>
            <link rel="stylesheet" href="banner.css">
        </head>
        <body>
    
    <div>
                <img src="img/cta.png" width="1272" height="77" />
                <img src="img/golden.png" width="1248" height="253" />
            </div>
    
    <!-- banner -->
            <script type="text/javascript" src="https://secure-ds.serving-sys.com/BurstingScript/EBLoader.js"></script>
        </body>
    </html>
    

    Sorry to be so dim, but I am completely new to JS. The client as run out of options and relying on me…….

    Can anyone give me an indication of how the code needs to be written??

    Gifts will be awarded to the winning post…..;)))

    Sean

    #208624
    Seanhegs
    Participant

    Hello Paulie

    Thanks for getting back to me so promptly.

    Have set up a fiddle file:

    https://jsfiddle.net/Seanhegs/4o35t1wz/1/

    I’ve not created a JS file as yet, this will be the only js used.

    So I need to include a standard click tag as the URLs will be added at a later stage. The click tag will need to be built as a https.

    I’ve inserted the external JS link which was sent to me at the bottom of the html file.

    I’ve been asked to insert the code below:

    EB.clickthrough();

    Any help would be appreciated.

    Regards,

    Sean

    #208642
    Seanhegs
    Participant

    Thanks for all your help.
    This is all above me and I’m struggling to make sense of it.
    I guess if you don’t know it, you can give an answer…!!??

    Will go back to the client with my findings tomorrow.

    Thanks again for your help, much appreciated.

    Sean

    #208667
    Mottie
    Member

    I wouldn’t use flash at all… most browsers now have flash disabled by default.

    Why does the page need the EBLoader.js file? What does it do? Why can’t you just add the image?

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.