
September 12th, 2012, 03:25 PM
|
|
Registered User
|
|
Join Date: Sep 2012
Posts: 2
Time spent in forums: 21 m 11 sec
Reputation Power: 0
|
|
|
Other - OnClick event question
Thanks in advance for answering this, I don't generally involve myself in code but this is an instance where I understand there is a simple solution that I just can't find.
This was is the module code -
<script type="text/javascript" src="nivo-slider/jquery-1.6.1.min.js"></script>
<script type="text/javascript" src="nivo-slider/jquery.nivo.slider.js"></script>
<div id="wrapper">
<div class="slider-wrapper theme-default">
<div id="slider" class="nivoSlider">
<a style="display:none;" onclick="window.open(this.href); return false;" href="/m/news/view/Futuristic-Dodge" ><!----Maximum---22-character-->
<img src="slider_img/toystory.jpg" alt="" title="" /><!----Maximum---22-character-->
<div class="txt" style="display:none;">
<h1 style="color:#ffffff">You Will Be Unprepared</h1><!----Maximum---22-character-->
A young girl is institutionalized by her wicked stepfather.Retreating <!----Maximum---50-character-->
to an alternative reality as a coping strategy, she envisions a plan<!----Maximum---50-character-->
which will help her escape from the facility. The lines between<!----Maximum---50-character-->
reality and fantasy blur as...<!----Maximum---35-character-->
</div>
</a>
All I want is for the link in the above sample to not open in a separate window.
I can find a ton of information for how to make a link open in a new window but I haven't found much for what changes would make it just go to a specific page on the site without opening a new window.
Please help.
|