www.webdeveloper.com
Results 1 to 3 of 3

Thread: Add OnClick to code - problem

  1. #1
    Join Date
    Apr 2011
    Posts
    2

    Add OnClick to code - problem

    Hi,

    I have one small problem ...

    I would like add OnClick function to this code:

    <script type="text/javascript">
    freshsettings = new Object();
    freshsettings.introbox1_link = "www.example.com"; // in this place - when I click on the link - open new window with popup ...
    freshsettings.introbox2_link = "#";
    freshsettings.introbox3_link = "#";
    freshsettings.landing_check = "";
    freshsettings.landing_link = "#";
    freshsettings.get_post = "http://domena.com";

    freshsettings.prf_blognav = "";
    freshsettings.prf_blogmedium = "";
    freshsettings.prf_galleryshine = "";
    freshsettings.prf_gallerybump = "";
    freshsettings.template_url = "http://domena.com";
    freshsettings.blog_url = "http://domena.com";
    var actual_location = window.location+"";

    </script>

    Who help me?

  2. #2
    Join Date
    May 2010
    Posts
    41
    this probably won't help, but here you go:

    Code:
    <a href="http://www.ilikepiegames.com" target="_blank">Play fun games!</a>

  3. #3
    Join Date
    Apr 2011
    Posts
    2
    Yes, I know, but I have this code on my site - and I would like to connect with the script ...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles