Membership is FREE – with unlimited access to all features, tools, and discussions. Premium accounts get benefits like banner ads and newsletter exposure. ✅ Signature links are now free for all. 🚫 No AI-generated (LLM) posts allowed. Share your own thoughts and experience — accounts may be terminated for violations.

need some html frame code!

Status
Not open for further replies.

nicorlino

I BUY TRAFFIC NAMES!
Legacy Exclusive Member
Joined
Aug 23, 2002
Messages
985
Reaction score
0
hi ya'll,
i don't know a lot about html and i would need a specific code.
could somebody post a code that allows me to redirect a page using a frame. the frame should show this logo in the upper left corner, and some text on the right side of it. below the logo and the text there should be the page i redirect it to. could somebody post some code her for me? would send some dnf bucks!
nico
 

Ciqala

Level 7
Legacy Platinum Member
Joined
Jul 22, 2002
Messages
872
Reaction score
0
not sure if this is what you want but i just knocked it together...

put the following code in a file called redirect.php

<?php
if ( '' == $url )
{
$url="http://www.appartment.com";
}
?>
<html>
<head>
<title> =You are now visiting an external site</title>
</head>
<frameset rows="175,*">
<frame src="header.html" name="header" frameborder="0" noresize scrolling="no">
<frame src="<?php echo($url); ?>" name="detail">
</frameset>
</html>

now create the header page using the following html and call it header.html and put it in the same folder as redirect.php

<html>
<head>
<title></title>
</head>
<body>
<table align="center" width="100%" cellpadding="0">
<tr valign="top">
<td><p align="left"><img src="http://www.zeifang.com/logos/appartment.gif"></p></td>
<td><p align="right">This is some text about my website<br />
This is some text about my website<br />
This is some text about my website<br />
This is some text about my website<br />
This is some text about my website<br />
This is some text about my website<br />

</p></td>
</tr>
</table>
</body>
</html>


you can then link to redirect.php and get it to load any page you want by using the following code

http://www.yourdomain.com/redirect.php?url=http://www.domaintoredirectto.com

i have made an example page

try this link

http://www.hiphopdvds.com/redirect.php?url=http://www.dnforum.com

if this is useful say so and i'll explain how to change the page title and set a default site in case you forget to add the ?url=www.domain.com
 

nicorlino

I BUY TRAFFIC NAMES!
Legacy Exclusive Member
Joined
Aug 23, 2002
Messages
985
Reaction score
0
thats exactly what i wanted, thanks a lot!
500 dnf bucks on your way!
nico
 

Ciqala

Level 7
Legacy Platinum Member
Joined
Jul 22, 2002
Messages
872
Reaction score
0
ok if you change the following colored code then you can modify the following

orange => the default url
red => the title that appears in the top of internet explorer
blue => how high the top header should be in pixels
green => path to your logo image
yellow => the text to put in the right hand side of the header
 

Ciqala

Level 7
Legacy Platinum Member
Joined
Jul 22, 2002
Messages
872
Reaction score
0
I ROCK!!! :laugh: :D
 

Ciqala

Level 7
Legacy Platinum Member
Joined
Jul 22, 2002
Messages
872
Reaction score
0
Thanks for reminding me I now have enough to change my user title :D
 
Status
Not open for further replies.

Who has viewed this thread (Total: 1) View details

Who has watched this thread (Total: 1) View details

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Members Online

Premium Members

Upcoming events

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators

Top Bottom