473,385 Members | 1,642 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Redirectiong a URL using html codes

Hi not sure if this is in the right place or not, but I could use some help redirecting a usual page to another each time. I'd rather not have the 2nd page embedded on the first as it looks bad. I've tried using <html><meta http-equiv="refresh" content="1;url=http://example.com/" /></html> to redirect but it has no effect.

I currently use something like this:
Expand|Select|Wrap|Line Numbers
  1. <div style="
  2. position: absolute;
  3. top: 0px;
  4. left: 0px;
  5. width: 100%;
  6. min-width:1263px;
  7. z-index: 2;
  8. "><iframe title="" width="100%" height="1600" src="http://example.com" frameborder="0" scrolling="no""></iframe></Div 
but its just more of embedding it on the first page and there are issues with the scroll bar and dimensions and such so it doesn't work to well.

I apologize if this is confusing and thanks in advance for any assistance
Aug 27 '13 #1
2 1559
Please do check if this is what you are looking for(POSSIBLE DUPLICATE QUESTION)http://bytes.com/topic/javascript/an...ithin-function
Aug 28 '13 #2
You need add meta refresh tag under <head> tag.
Aug 29 '13 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Jayme Assuncao Casimiro | last post by:
I am witing a wrapper to extract data from werb sites. I am storing the data in xml format. But it doesn't produce valid xml because of html codes like the above - typical of latin languages....
4
by: Greg -- | last post by:
Is it possible to replace html codes, such as $#63;, to the ASCII equivalent with RegEx? Using RegEx, I'm able to obtain the 63, but I'm unable to convert it: Regex.Replace("?", "&#(.+?);",...
15
by: Nathan | last post by:
I have an aspx page with a data grid, some textboxes, and an update button. This page also has one html input element with type=file (not inside the data grid and runat=server). The update...
3
by: Jonathan | last post by:
Hi I want to convert HTML codes ("!" , "#" , "$" , "%") to text ("!","#", "$", "%"). How can i do it without replacing one an one the codes? Thanks in advance
1
by: linamazari | last post by:
Hello, everyone! I am new here, as well as, new in everything about computers. I am learning to build sites through HTML. So, being not a techie, please bear with me if my questions are so basic...
5
by: clarencelai | last post by:
Hi, I have a field that store HTML codes. How do I output them to MS Access Report / MS Word in HTML format or text format? Kindly advise. Regards, Clarence
10
by: laredotornado | last post by:
Hi, I have certain blocks of Spanish text, for example ¿Necesita agregar una impresora o copiadora adicional a su forma personalizada de orden? Presione aquí. Don't know if the backwards...
3
by: happyse27 | last post by:
Hi All, I am creating the perl script using html form(with embedded javascript inside). When using this html form with javascript alone, it works where the form validation will pop up...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.