Tweet Follow @LawBlogger1   

Advertisments:


Sponsor Links:

Bar Exam Flashcards
Discount Legal Forms
Discounted Legal Texts

Please help Fix this code?

  
Tweet

Please help Fix this code?

Postby macquaid35 » Fri Jun 22, 2012 7:48 pm

If you go to this page of my website http://mojapozadina.com/preview/11406/1024x768/sareni-kokteli
and click on "Instructions" button on the top right side, it should pop-up message.
But once it pop-op message window then it goes to my homepage .

I dont want that clicking on "instructions" button do action redirecting to homepage.

This is all code for this page
Please somebody tell me what to fix to prevent this happening

<body><div style="width:<?php echo $page_width;?>px;margin:auto;">
<div class="preview_wallpaper_header">

<div style="float:left;"><a href="http://mojapozadina.com"> <img src="<?php echo $setting['site_url'].$setting['template_… alt="logo" /></div>
<div class="preview_wallpaper_instructions" id="showInstructions"></div>
<div style="float:right; margin:0 10px;">
<a href="<?php echo $wallpaper['download_url'];?>">
<img src="<?php echo $setting['site_url'].$setting['template_… alt="Download" />
</a>
</div>
<div style="float:right;"><a href="<?php echo $wallpaper['url']; ?>"><img src="http://mojapozadina.com/images/back… alt="backtowallpaper" /></a></div>

<div id="preview_instructions"><?php echo $wallpaper['instructions']; ?></div>
<!--div class="preview_wallpaper_left">
<div class="preview_wallpaper_name">
<?php// echo '<a href="'.$wallpaper['url'].'">'.$wallpape… ?>
</div>
<div class="preview_wallpaper_info">
<a href="<?php// echo $wallpaper['download_url'];?>"><?php// echo DOWNLOAD;?></a>
<?php// echo DOWNLOAD_INFO;?>
</div>
</div-->
<script language="javascript">
function hidediv()
{
document.getElementById('preview_in… = 'none';


}

</script>
<?php if ($width <= '1200') {
echo '<br style="clear:both" /><div class="preview_wallpaper_right_short">';
}
else {
echo '<div class="preview_wallpaper_right">';
}
?>
<?php advert('advert_8'); ?>
</div>
</div>
<?php $wallpaper['preview'] = $wallpaper['image']; ?>
<img src="<?php echo $wallpaper['preview'];?>"/>
</body></div>
</html>
macquaid35
 
Posts: 0
Joined: Sat Apr 02, 2011 2:02 am
Top

Return to Class Action

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests