Amezis
Mar 22 2005, 11:38 AM
| | Can someone give me the code which redirects you automatically in the whole page instead of only in the frame? I'm using this code, but it just redirects inside a frame...
CODE <meta HTTP-EQUIV="REFRESH" content="0; url=http://www.something.com"> But now .tk has added a ad to the pages so I don't want to use it anymore, so I want that people entering the site is being redirected to the "real" domain name now... |
Reply
serverph
Mar 22 2005, 03:40 PM
i suppose you want the code to break out of frames? here it is: CODE <script language="JavaScript"type="text/javascript"> <!-- function breakout_of_frame() { if (top.location !=location){ top.location.href =document.location.href; } } --> </script> </head> <body onload="breakout_of_frame()">
take note that the javascript has to be inside the head tags (so i included the closing tag for the head tag in the code). don't forget also the command within the body tag (included as well in the code to guide you). hope this helps.
Reply
Amezis
Mar 26 2005, 03:15 PM
OK, thanks... However, .tk only had the ad on the top for an hour, then they removed it...  dunno if it was only a bug... But thanks anyway, i'm running my page in frames, so thanks for the code.
Reply
alexia
May 2 2005, 09:41 PM
sorry i posting i find it on internet this kind of script for u 3 level 1- level CODE <html> <script> alert("This page has been moved to a new location... click OK to be redirected."); location = "http://www.i-code.co.uk/index.php"; </script> </html> 2 - level CODE <html> <script> if(confirm("This page has been moved to a new location... would you like to be redirected")) { location = "http://www.i-code.co.uk/index.php"; } else { history.back(); } </script> </html> 3- level CODE <html> <script> location = "http://www.i-code.co.uk/index.php"; </script> </html> I find it on internet by searching and posting here for just learing script i dont write these scripts i find it for help to u ( not copy pasting)
Reply
Amezis
May 5 2005, 07:22 AM
Thanks, these was nice. However, dot.tk added a big ad frame for some hours, and then it was gone, but I needed that code anyway, so thanks!
Reply
Tyssen
May 9 2005, 10:40 PM
You need to keep in mind that some hosts that force ads on you will suspend your account if you use frame-busting/redirection scripts.
Reply
Amezis
May 12 2005, 09:08 AM
Yes, but I didn't use it for that... Thanks alot for the help anyway  The code i am using now, is CODE <script LANGUAGE="JavaScript">
<!-- if (parent.frames.length > 0) { parent.location.href = location.href; } --> </SCRIPT> I put it in the body tags, and it works good
Reply
iGuest
Jun 24 2008, 01:57 PM
html redirect code
Redirect Code Help
About Redirect to other web address // html code -- Http://html-lesson.Blogspot.Com/2008/06/redirect-to-web-addres.Html -reply by sezer
Reply
kevin08
Jul 16 2008, 09:33 AM
QUOTE(FeedBacker @ Jun 24 2008, 01:57 PM)  html redirect codeRedirect Code Help About Redirect to other web address // html code -- Http://html-lesson.Blogspot.Com/2008/06/re...web-addres.Html-reply by sezer Hi FeedBacker, This page is not opening. Well, I have a blog and I want to redirect it to my own domain. Are the above scripts useful to redirect a blog to my own domain? or Is there any other method to redirect a blog to my own domain? I will appreciate your reply. Thanks...
Reply
Recent Queries:--
redirect email link html code - 7.55 hr back. (1)
-
html redirect body code - 15.20 hr back. (1)
-
redirect html code - 19.67 hr back. (1)
-
re-direct code - 29.35 hr back. (1)
-
html redirect and frames - 40.47 hr back. (1)
-
java redirect code - 54.19 hr back. (1)
-
html code for re-direct - 63.44 hr back. (1)
-
java redirect html code - 67.60 hr back. (1)
-
myspace redirect code - 75.50 hr back. (1)
-
redirect code - 88.30 hr back. (1)
-
redirecting a picture code to my website on myspace - 109.89 hr back. (1)
-
redirect code internet explorer - 120.60 hr back. (1)
-
re-direct html code - 124.22 hr back. (1)
-
html redirect code - 7.96 hr back. (7)
Similar Topics
Keywords : redirect, code
- Applet Code
(0)
I Need Help With This Code
(3) could some one help with this code. I have been working on this for the past hour trying to get it
to work. this is the first time i have had problem with writing html code. the code i need help
with is HTML a href =" http://www.darkzone3.110mb.com/contact.php " target=" _blank ">
input type =" image " height=" 27 " width=" 139 " src="
http://www.darkzone3.110mb.com/buttons/contact.png " /> /a > for some reason on my page it
want work at all it want even open it the same page. What i'm trying to do with the code is a
page in a new window using an....
Email Form Code
(8) I want to create my own e-mail form for my site and I don't quite know if JavaScript or PHP is
required. I use my Nintendo Wii to manage my sites so I only can use what my webhost allows. I am
using Angelfire for my main site and InvisionPlus for my forums. I'm planning on switching to
Trap17 for my main site. Well here is my current code. Please tell me what I need to change.
Message ....
How To Redirect
Not as simple as it sounds (5) I am currently doing a small prjoect for a group. We have the main website sorted out but the guys
want a site where they can put there funny pictures, a forum and general stuff that we dont want the
public seeing. I looked at paying for a secure area on our hosting but we did not want to have to
pay more than we already were as it is not being hosted with trap17. SO i came to the conclusion of
using a simple password page, and redirects. Is there anyway of redirecting users who have not first
entered the correct password. Ill try to explain in a bit more detail. Say m....
How To Display Php Code [resolved]
Html Help With Php Codebox (8) I'm trying to make codebox for my guestbook so that users can post PHP code inside.. I tried
many versions but none of them works If i use , or i can display HTML code, but when i try to
write PHP code it executes it does not display.. There is a way to make swap for You have codebox
in forum to display php how can i make that?! thanks....
Transparent Roll Over Pictures
Whats the code for tranparent pictures (4) I dont want just transparent pictures i want a sort of rollover image. I see this done on myspace a
lot. A transparent picture that when you roll over is less transparent. I want that for my site. Go
to: http://boozkerstweaks.trap17.com/tutorials...ws_to_vista.php And look at the thumbnail at
the beginning. I want that to be a transparent image that when you roll over it, it becomes less
transparent. Ive seen this in HTML and CSS. Either way is fine with me. I looked on this site and
google, but never really found what i wanted. Almost everyone was only how to make ....
Redirect Problem
(6) Hi, does anyone know if there is a way to display say www.b.com at www.a.com without using redirect
from a to b. The real problem i have is if you try going to www.frusciante.net you will get
redirected to www.locborg.de/fru where the files are stored. The code in frusciante.net is: HTML
FRAMESET border=0 frameSpacing=0 rows=100%,* frameBorder=0 > FRAME name=bannerframe src ="
http://www.locborg.de/fru/ " noResize> /FRAMESET > So is there a way to display the files
from locborg.de/fru while maintaining the frusciante.net URL in the browser?....
My Very Sad Code
(4) So i usually work in notepad, or frontpage but i was using dreamweaver instead because i wanted to
see the difference and i like it better than frontpage and all. But as usual i cant get anything to
work. I wanted the table to be over the images i took the table out .
http://www.indiealways.trap17.com/zooey.html is the link to the page HTML html xmlns ="
http://www.w3.org/1999/xhtml "> head > meta http-equiv =" Content-Type " content=" text/html;
charset=iso-8859-1 " /> title >Untitled Document /title > /head > body > style type =" text/css
"> body....
Morse Code
haha (4) very useful /biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" />
you know why... CODE <A></A> <P align=left><!-- saved from
url=(0034)http://www.mathsking.net/morse.htm --> <META content="MSHTML
6.00.2800.1106" name=GENERATOR> <META content=FrontPage.Editor.Document name=ProgId>
<script language=JavaScript> var respecterCasse = true; var ignorerCasse = false; var
motsEntiers = true; var touteSousChaine = false; function rechercher(cible,terme,resp....
Screen Resolution
I need a code to help out here please... (6) Hey everyone.. I was just wondering if there was a code/script that I could insert into my html
website to change viewers resolution from 1024x800 to 800x600 or something to that effect. It's
just I use 800x600 at home, and I programme it around that, and it's fine, but on some public
computers it's default to 1024x800 and can't be changed.. Is there a script to chance
this??? Help plz anyone!!! Thanks in advance, Sean.....
Have You Used This Html Code?
very useful (9) how do you do if you want to put a video or audio file on you page...maybe you will use CODE
<object><param name=url value="url"></object>/*simple format*/
CODE <div><embed src="url"></embed></div> /*simple
format*/ there is a very familiar code for carring out the video show : CODE <img
dynsrc="http://kenvi9999.googlepages.com/ff7.wmv" border=1>/*an example:FF7*/
have you used this html code...I just knew a tag can achieve video play that is really co....
301 Redirect And Bots
a small doubt (6) Hi guys, I am presently developing a website which depends on JavaScript for its design. The
problem is that some browsers do not JavaScript enabled. So, in case Script cannot be run on the
browser, I have given a 301 (Meta) Redirect to a page which will tell them to enable the script.
What about the Search engine bots? Will they undergo the 301 Redirect? Or can they see the
actual page? Please help. ....
Html Question Concerning Pre Tag And Code Tag
(8) My question is, why would anyone use the CODE tag when you can use the PRE tag? 1. The PRE tag
recognises white space, the CODE tag does not. 2. The CODE tag requires that you escape some
chars, the PRE tag does not. I cannot see anything that the CODE tag achieves that is special apart
from sounding as though it is perfect for displaying code which IMO it is not. Thanks. ....
Url Redirection = Javascript+html
Redirect using scripts! (4) In javascript Browser redirection can be done in 3 ways: 1) Alert Redirect: CODE
<html> <script> alert("This page has been moved to a new location...
click OK to be redirected."); location = "http://www.your-website.com";
</script> </html> 2) Confirm and Redirect: CODE <html>
<script> if(confirm("This page has been moved to a new location... would you
like to be redirected")) { location = "http://www.your-website.com";
}....
Realtime/wma Player In Websites
What's the code (5) Alright, I'm making a website for a band. And he requested on the "Media" page that when you go
there, you see there sample songs. And next to it, it's like "Song - Play in - MWA - RealTime."
How do you make it so when you click, say, realtime, it takes you to another page and the player is
right there, playing the song? I suppose this is some kind of PHP but I'm not sure. Links,
code, tutorials, anything to get this working for me is appretiated.....
Countdown Till Redirect
(4) ok here is a question: how would i do something that says you will be redirected in 15 seconds and
then changes the number till the redirection takes place. this is planned for a custom 404 error
page. im not just asking for the countdown but also how to redirect at all. thankfull for any
help /smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /> Lucas....
Code To Autocomplete A Form?
in hmtl or PHP (7) Hey guys. I'm doing a web-based (running on an intranet) Inventory System for my final
requirement in school. I'm looking for a code to autocomplete a form like if I type in a few
letters in a textfield, the rest of the word gets displayed already or if I type in a few letters of
an item in a drop-down menu (Select), the focus goes to that item. Has anyone done this before or
does anyone have the code for this? Thanks very much /smile.gif' border='0'
style='vertical-align:middle' alt='smile.gif' /> ....
What Is The Xhtml 1.1 Code To Embed An Applet?
(2) I've been doing a lot of java stuff recently and some is pretty neat, so I'd like to put it
on the internet. I'm using XHTML 1.1 for all my pages, though, and according to W3Schools
doesn't exist anymore and to use object. It's not working, though. There are a bunch of
attributes ( http://www.w3schools.com/tags/tag_object.asp ) and I have no idea which things I need
to use. Which do I put for an applet?....
Code For This Table Layout?
html help needed (6) Hey, can anyone help me generate the code needed for a table that would look something like this?
CODE ----------------------------------------------------- |
|---------------- | | |---------------- | |
|---------------- | | |---------------- | |
|---------------- | |
|---------------- | ------------------------------------------------------ Thanks i....
Total Lines Of Code
(3) Does anyone know how to have Dreamweaver MX (or some other program) tally up the lines of code in an
entire website and display the total lines of code? I can get the number of pages but I am very
interested in how many lines I've written. Kvernerexpress....
W3c Compliant Flash
anyone know the html code to make flash w3c compliant? (0) Recently, I decided to make my entire site W3C compliant . That didn't work too well (or else
this thread wouldn't be here) because I have flash games on my website. The main purpose of the
validator is to ensure that your HTML code will run on any computer on any platform, which it does
because I've tested it, but the validator still insists that my code will not work. So I teamed
up with Google to help me find a solution. The first result led me to A List Apart who is known
for their excellent HTML and CSS tutorials/articles. It turns out that there is ....
List-style Help
- I need a good code (2) you know where you can use your own images for a list. well, I have a code that don't work.
Please send me a good code that works. yu know, CODE <li>with my image
infront</i> ....
Blendtrans Filter With Onmouseover?
anybody got a good code? (1) I need the best way to do a blendTrans filter, BUT IT HAS TO BE INCORPERATED INTO ONMOUSEOVER.
I'd aprictiate it.....
Scroll Color
CODE (2) i find this code :: CODE <STYLE type=text/css>BODY { SCROLLBAR-FACE-COLOR:
#ffffff; SCROLLBAR-HIGHLIGHT-COLOR: #ffffff; SCROLLBAR-SHADOW-COLOR: #ffffff;
SCROLLBAR-3DLIGHT-COLOR: #ffffff; SCROLLBAR-ARROW-COLOR: #0099cc; SCROLLBAR-TRACK-COLOR:
#ffffff; SCROLLBAR-DARKSHADOW-COLOR: #394963 }</style> with this code you can change
your Scroll color /blink.gif' border='0' style='vertical-align:middle' alt='blink.gif' /> ....
I Forgot A Code
History -1 (7) What's the code I use on a link to go back to previous page?....
Disable Scrollbars, Menubars Etc....
Javascript / Html code to disable them (6) hi, i would like to know how the scrollbars, menubars etc.. can be disabled. I hope someone can help
me with this. /biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif"
/> Btw: can you tell me where the code should be inserted to? thanks! /cool.gif"
style="vertical-align:middle" emoid="B)" border="0" alt="cool.gif" />....
Whats The Best Code?
www.bpsite.tk (32) Whats you fav code?....
Html Animation Code
Help!! (4) I'm a total moron of html... and i wish i know how to: 1. Change the visitor mouse cursor while
they visit my website 2. Have the navigation bar always followed the visitor view. by the way,
what is the good site that have great html tutorials in it. Thx hey check this site out:
http://www.dhtmlnirvana.com/ what a great website with full of html animation... GREAT!!....
What Is Invalid In This Code ?, That Hinders Cross
(3) What is invalid in this CSS that hinders it to show up the edge effect (ripped papper like on left &
right side) in Mozilla FireFox Where as Internet Explorer shows it out perfectly.... Problematic
URL: http://ajaysekher.net This is a CSS effect made by casecading a picture repeatedly in Y axis
in the background of a column.... I am attaching the Screenshot of it showing the edges perfectly in
IE also the CSS code used for that effect. Astonishingly the CSS and the XHTML code is said to be
valid by W3.ORG..... Adding the validation result URLs too.... Can any one fi....
Looking for redirect, code
|
|
Searching Video's for redirect, code
|
advertisement
|
|