İçeriğe atla
Ağustos 24, 2011 / sukruerdem

JavaScript ile Redirect

Bir başka sayfaya Redirect yapmak için;

 

<head>

<script type="text/javascript">
function open_in_frame(FrameName, FrameURL)
{
top.frames[FrameName].location.href = FrameURL;
}
</script>

</head>

 

Ve bu Fonksyonu ;
<a href=”javascript:Change(frameName,URL)”></a>

 

şeklinde çağırabiliriz.

Yorum yapın

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Değiştir )

Twitter picture

You are commenting using your Twitter account. Log Out / Değiştir )

Facebook photo

You are commenting using your Facebook account. Log Out / Değiştir )

Connecting to %s

Follow

Get every new post delivered to your Inbox.