PDA

View Full Version : add clickable link in to this code..



bundakuwan
Feb 27th, 2012, 05:11 PM
<!-- Begin of mycountdown.org script --> <div align="center" style="margin:15px 0px 0px 0px"> <noscript> <div align="center" style="width:140px;border:1px solid #ccc; background: #040244; color: #F9F9FF;font-weight:bold;font-size:12px;"> <a style="text-decoration: none; color:#F9F9FF;" href="http://mycountdown.org/My_Countdown/My_Countdown/">My Countdown </a></div> </noscript> <script type="text/javascript" src="http://mycountdown.org/countdown.php?cp3_Hex=0F0200&cp2_Hex=040244&cp1_Hex=F9F9FF&ham=0&img=&hbg=0&hfg=0&sid=0&fwdt=150&lab=1&text1=Neuse River Event Calendar&text2=Event Calendar&group=My Countdown&countdown=My Countdown&widget_number=3010&event_time=1330300800&timezone=America/New_York"></script> </div> <!-- End of mycountdown.org script -->
Hello Coders as you see to the code..

i want to add and link the clock to my site. whenever user click the clock it will directly goes to my preferred website..


i did try changing the blue text which located in the code..

but seems not effective..


any helps is greatly appreciated.

looking forward from the expert .thank you..

Riku
Feb 27th, 2012, 08:04 PM
Do you want the text "My Countdown" to link to this website http://mycountdown.org/My_Countdown/My_Countdown/

Or what do you want?

-Riku

bundakuwan
Feb 27th, 2012, 08:22 PM
hello sir,

thank you for your response..

have you tried the code using your local directory?

i just wanted to link the clock into this site http://www.neuserivernews.com/events-calendar.html

i will add that code into my weebly homepage.. once user or participants click the clock they will be directed to visit this link http://www.neuserivernews.com/events-calendar.html

Thank you.

Riku
Feb 28th, 2012, 08:41 AM
Checked it out on my local, it's an flash countdowner. Which means you canno't change where it links only the author of this countdowner can, as it loads the flash file from somewhere and you cannot gain access to it.

Here's countdowner that is done with only JavaScript;
http://www.hashemian.com/tools/javascript-countdown.htm

Hope this helps!

-Riku

bundakuwan
Feb 28th, 2012, 02:43 PM
thank you..

anyway do you know if where i could found an count down timer that can be able customize the link..


thanks again...

Riku
Feb 28th, 2012, 03:29 PM
If you want countdowner with link, you can use the code from the link I gave and just add link there. More or less like this;



<div style="width: 350px; text-align: center;">
<a href="http://www.neuserivernews.com/events-calendar.html" style="text-decoration: none; color: #000000;">This links to calendar</a>
<br /><script language="JavaScript">
TargetDate = "12/31/2020 5:00 AM";
BackColor = "palegreen";
ForeColor = "navy";
CountActive = true;
CountStepper = -1;
LeadingZero = true;
DisplayFormat = "%%D%% Days, %%H%% Hours, %%M%% Minutes, %%S%% Seconds.";
FinishMessage = "It is finally here!";
</script>
<script language="JavaScript" src="http://scripts.hashemian.com/js/countdown.js"></script>
</div>


Test it on local you can customize pretty much.

http://www.hashemian.com/tools/javascript-countdown-faq.htm

Hope this helps.

-Riku

Major Payne
Feb 29th, 2012, 02:56 AM
These may are may not work:

Does your website need an interactive event calendar? ("http://www.calendarxp.net/) Links can be added.

Maybe one of these:

http://www.javascript-examples.com/javascript-calendars/