News:

Want to request some new sheets? Head on over here first!

Main Menu

Question about websites in general...

Started by Parker2334, May 30, 2008, 11:23:43 PM

Previous topic - Next topic

Parker2334

MOst websites are designed in XHTML and Frames and stuff. We all know its not possible to hide the source code, because the browser looks at the code to display the items needed to be displayed. Suppose I want to make a website with the source code hidden. I could code it in flash, but thats time-consuming. Is there is a way to do it using frames? Like on the frameset page it would be

 <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>XHTML frame TAG</title>
<base _targer="main">
</head>
<frameset cols="50%, 50%">
   <noframes>
      To be viewed properly, this page requires frames.
   </noframes>
   <frameset rows="33%, 33%, *">
      <frame src="banner.html" name="banner"/>
      <frame src="Nav.html" name="nav" />
      <frame src="main.html" name="main"/>
   </frameset>
  
</frameset>
</html>

My question. What tag can be added to the frameset page that would deny access to view main.html outside of the frame? Simply:I want main.html to displayed only when I click the link on the nav.html page and not when I try to access the actual url? Is there a tag?
THESE BIG RED LETTERS HELP ME FIND MY POST.

razer84

yeah, i don't know anything about making websites...


damn commies.

Dude

Quote from: razer84 on June 02, 2008, 03:35:15 AMyeah, i don't know anything about making websites...
...Then why post here in the first place if you can't help? :-\

Parker2334

THESE BIG RED LETTERS HELP ME FIND MY POST.

Harvest

woah!  Parker's avatar moves!

or..am I just seeing things?
-

starpikachu


Parker2334

Yes it moves, and no, you are NOT drunk.
THESE BIG RED LETTERS HELP ME FIND MY POST.

Olimar12345

HOLY CRAP! I've never noticed it ether, does that make me an idiot?   :P
Visit my site: VGM Sheet Music by Olimar12345 ~ Quality VGM sheet music available for free!

Parker2334

Guys! guys! guys! Quit being amazed about my uber-cool animated avatar that I stole from wikipedia and lets get back on topic.
THESE BIG RED LETTERS HELP ME FIND MY POST.

PianoMasta7

Make the entire page in PHP...This is what I mean:

<?php
// All your variables and operators go here...

$pageContents = <<< EOPAGE
<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>XHTML frame TAG</title>
<base _targer="main">
</head>
<frameset cols="50%, 50%">
   <noframes>
      To be viewed properly, this page requires frames.
   </noframes>
   <frameset rows="33%, 33%, *">
      <frame src="banner.html" name="banner"/>
      <frame src="Nav.html" name="nav" />
      <frame src="main.html" name="main"/>
   </frameset>
   
</frameset>
</html>
EOPAGE;

echo $pageContents;
?>

By the way...very poor HTML...