Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > css to act like a simple 2 frame setup? yes or no

Reply
Thread Tools

css to act like a simple 2 frame setup? yes or no

 
 
S Kalynuik
Guest
Posts: n/a
 
      03-13-2006
Is there a way to allow css to act like a simple 2 frame setup.

I want a fixed navigation header on all pages, website itself has 100+
pages, each is multi paged with sub pages.

So what I could do in frame is have 2 frames and clicking in the header
frame would load a seperate html page in the main frame, therefore not
having to repeat the header code 100+ times, can this be done using css?

I know css can use a float or fixed header position, even using margins to
trick ie into making a header section fixed. But this still seems like I
would have to repeat the header css on each page, it would just be more
fluid if the header always stayed loaded as it does using frames.
Or is this scenario not going to work in css YET?

BTW each page is header on top, fixed height and width, and main body is
scrollable up/down.

TIA (Thank-you In Advance)

If this is not possible is there a way to use the navigation html as say a
call and place that on everypage, like a css or javascript call:
<link rel="stylesheet" type="text/css" href="css/index.css" />
<script language="javascript" src="js/rollover.js"></script>

I know the above loads a reference type file then applies those standards
in the case of a css link rel, but the javascript call actually places code
in the page, could this be done using html common to all pages, ie
navigation html segment?

THank-you
--
http://www.velocityreviews.com/forums/(E-Mail Removed)omcom
-=< FreeWare ForEver >=-
 
Reply With Quote
 
 
 
 
PeterMcC
Guest
Posts: n/a
 
      03-13-2006
S Kalynuik wrote in
<9yk01howm6nx$.1x38ekpd7iwuz$(E-Mail Removed)>

> Is there a way to allow css to act like a simple 2 frame setup.
>
> I want a fixed navigation header on all pages, website itself has 100+
> pages, each is multi paged with sub pages.
>


You might want to look at:
http://allmyfaqs.net/faq.pl?Include_one_file_in_another

--
PeterMcC
If you feel that any of the above is incorrect,
inappropriate or offensive in any way,
please ignore it and accept my apologies.
 
Reply With Quote
 
 
 
 
Carolyn Marenger
Guest
Posts: n/a
 
      03-13-2006
S Kalynuik wrote:

> I want a fixed navigation header on all pages, website itself has 100+
> pages, each is multi paged with sub pages.
>
> So what I could do in frame is have 2 frames and clicking in the header
> frame would load a seperate html page in the main frame, therefore not
> having to repeat the header code 100+ times, can this be done using css?


I don't think it can be done in CSS, however SSI will handle it quite
nicely.

If you move the html code for the header frame to a separate file,
ssi/headerframe.html and insert the SSI code <!--#include
virtual="ssi/copyright.html" --> in the file in its place. Finally rename
the file index.shtml from index.html and you should be laughing. I have
only ever user apache servers, so I don't know if this will work if your
server is M$.

Carolyn
--
Carolyn Marenger

 
Reply With Quote
 
S Kalynuik
Guest
Posts: n/a
 
      03-13-2006
On Mon, 13 Mar 2006 08:02:53 -0500, S Kalynuik wrote:

> Is there a way to allow css to act like a simple 2 frame setup.
>
> I want a fixed navigation header on all pages, website itself has 100+
> pages, each is multi paged with sub pages.
>
> So what I could do in frame is have 2 frames and clicking in the header
> frame would load a seperate html page in the main frame, therefore not
> having to repeat the header code 100+ times, can this be done using css?
>
> I know css can use a float or fixed header position, even using margins to
> trick ie into making a header section fixed. But this still seems like I
> would have to repeat the header css on each page, it would just be more
> fluid if the header always stayed loaded as it does using frames.
> Or is this scenario not going to work in css YET?
>
> BTW each page is header on top, fixed height and width, and main body is
> scrollable up/down.
>
> TIA (Thank-you In Advance)
>
> If this is not possible is there a way to use the navigation html as say a
> call and place that on everypage, like a css or javascript call:
> <link rel="stylesheet" type="text/css" href="css/index.css" />
> <script language="javascript" src="js/rollover.js"></script>
>
> I know the above loads a reference type file then applies those standards
> in the case of a css link rel, but the javascript call actually places code
> in the page, could this be done using html common to all pages, ie
> navigation html segment?
>
> THank-you


ok I looked in alot of places and now almost have what I want to work:
the html file:
**************

<?xml version="1.0" encoding="UTF-8"? /?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" />
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

<!-- Generated by AceHTML Freeware http://freeware.acehtml.com -->
<!-- Creation date: 3/8/2006 -->

<head>
<meta name="author" content="Steve Kalynuik" />
<meta name="email" content="(E-Mail Removed)" />
<title>Kingtut's Place - The Game Section</title>
<link rel="stylesheet" type="text/css" href="css/index.css" />
<script language="javascript" src="js/rollover.js"></script>
<style>
<!--
div.c2 {text-align: center}
-->
</style>
</head>

<body onload="rollover()">

<script language="javascript" type="text/javascript"
src="ktptgs-head.js"></script>

</body>
</html>

**************
the js file:
**************

document.write ('<table border="0" cellspacing="0" cellpadding="0"
id="table1" class="c3">');
document.write (' <tr>');
document.write (' <td>');
document.write (' <img src="menu_images/mlt.gif" border="0" width="303"
height="28" alt="mlt" /><img src="menu_images/mp.gif" border="0" width="80"
height="28" alt="mp" /><img src="menu_images/mrt.gif" border="0"
width="303" height="28" alt="mrt" />');
document.write (' <br />');
document.write (' <img src="menu_images/mlb.gif" border="0" width="303"
height="97" alt="mlb" /><img src="menu_images/tutani.gif" border="0"
width="80" height="97" alt="tutani" /><img src="menu_images/mrb.gif"
border="0" width="303" height="97" alt="mrb" />');
document.write (' <\/td>');
document.write (' <\/tr>');
document.write ('<\/table>');
document.write ('<table border="1" cellspacing="0" cellpadding="0"
id="table2" class="c3">');
document.write (' <tr>');
document.write (' <td>');
document.write (' <img src="menu_images/menuleft.gif" width="4"
height="32" alt="menuleft" /><\/td>');
document.write (' <td colspan="2">');
document.write (' <!-- Main Menu-Buttons -->');
document.write (' <table align="center" cellpadding="0" cellspacing="0"
border="0" id="table3" class="c4">');
document.write (' <tr>');
document.write (' <td title="index" align=" center" class="c5">');
document.write (' <a href="index.html" target="_parent">');
document.write (' <img src="wbimg\imgn0.gif" rsrc="wbimg\imgo0.gif"
border="0" width="90" height="30" alt="Index" /><\/a><\/td>');
document.write (' <td title="creatures 1 &amp; 2" align=" center"
class="c5">');
document.write (' <a href="mc12.html" target="_parent">');
document.write (' <img src="wbimg\imgn1.gif" rsrc="wbimg\imgo1.gif"
border="0" width="90" height="30" alt="Creatures 1 &amp; 2"
/><\/a><\/td>');
document.write (' <td title="dragon warrior monsters" align=" center"
class="c5">');
document.write (' <a href="mdwm.html" target="_parent">');
document.write (' <img src="wbimg\imgn2.gif" rsrc="wbimg\imgo2.gif"
border="0" width="90" height="30" alt="Dragon Warrior Monsters"
/><\/a><\/td>');
document.write (' <td title="japanese pangya" align=" center"
class="c5">');
document.write (' <a href="mjp.html" target="_parent">');
document.write (' <img src="wbimg\imgn3.gif" rsrc="wbimg\imgo3.gif"
border="0" width="90" height="30" alt="Japanese Pangya" /><\/a><\/td>');
document.write (' <td title="ogre battle saga" align="center"
class="c5">');
document.write (' <a href="mobs-start.html" target="_parent">');
document.write (' <img src="wbimg\imgn4.gif" rsrc="wbimg\imgo4.gif"
border="0" width="90" height="30" alt="Ogre Battle Saga" /><\/a><\/td>');
document.write (' <td title="wizardry" align=" center" class="c5">');
document.write (' <a href="mw.html" target="_parent">');
document.write (' <img src="wbimg\imgn5.gif" rsrc="wbimg\imgo5.gif"
border="0" width="90" height="30" alt="Wizardry" /><\/a><\/td>');
document.write (' <td title="guestbook" align=" center" class="c5">');
document.write (' <a href="mgb.html" target="_parent">');
document.write (' <img src="wbimg\imgn6.gif" rsrc="wbimg\imgo6.gif"
border="0" width="90" height="30" alt="Guestbook" /><\/a><\/td>');
document.write (' <\/tr>');
document.write (' <\/table>');
document.write (' <script type="text/javascript" language="JavaScript1.1"
src="rotatingimagemain.txt"><\/script>');
document.write (' <!-- Main Menu-Buttons End --><\/td>');
document.write (' <td>');
document.write (' <img src="menu_images/menuright.gif" width="4"
height="32" alt="menuright" /><\/td>');
document.write (' <\/tr>');
document.write ('<\/table>');

**************
the problem is, the rollover images do not show, any ideas why not? THey do
if wriiten properly in the html document.

Thank-you
--
(E-Mail Removed)omcom
-=< FreeWare ForEver >=-
 
Reply With Quote
 
S Kalynuik
Guest
Posts: n/a
 
      03-13-2006
I found the problem using a HTML to Javascript converter, so the following
code wotks great and over 100 pages will save some 4600 lines of code:
I kept the same call line as before in each html file:
<script language="javascript" type="text/javascript"
src="ktptgs-head.js"></script>

but the js script file now contains only this:


<!--
function writeJS(){
var str='';
str+=' <table border=\"0\" cellspacing=\"0\" cellpadding=\"0\"
id=\"table1\" class=\"c3\">';
str+=' <tr>';
str+=' <td>';
str+=' <img src=\"menu_images\/mlt.gif\" border=\"0\" width=\"303\"
height=\"28\" alt=\"mlt\" \/><img src=\"menu_images\/mp.gif\" border=\"0\"
width=\"80\" height=\"28\" alt=\"mp\" \/><img src=\"menu_images\/mrt.gif\"
border=\"0\" width=\"303\" height=\"28\" alt=\"mrt\" \/>';
str+=' <br \/>';
str+=' <img src=\"menu_images\/mlb.gif\" border=\"0\" width=\"303\"
height=\"97\" alt=\"mlb\" \/><img src=\"menu_images\/tutani.gif\"
border=\"0\" width=\"80\" height=\"97\" alt=\"tutani\" \/><img
src=\"menu_images\/mrb.gif\" border=\"0\" width=\"303\" height=\"97\"
alt=\"mrb\" \/>';
str+=' <\/td>';
str+=' <\/tr>';
str+=' <\/table>';
str+=' <table border=\"1\" cellspacing=\"0\" cellpadding=\"0\"
id=\"table2\" class=\"c3\">';
str+=' <tr>';
str+=' <td>';
str+=' <img src=\"menu_images\/menuleft.gif\" width=\"4\" height=\"32\"
alt=\"menuleft\" \/><\/td>';
str+=' <td colspan=\"2\">';
str+=' <!-- Main Menu-Buttons -->';
str+=' <table align=\"center\" cellpadding=\"0\" cellspacing=\"0\"
border=\"0\" id=\"table3\" class=\"c4\">';
str+=' <tr>';
str+=' <td title=\"index\" align=\" center\" class=\"c5\">';
str+=' <a href=\"index.html\" target=\"_parent\">';
str+=' <img src=\"wbimg\\imgn0.gif\" rsrc=\"wbimg\\imgo0.gif\"
border=\"0\" width=\"90\" height=\"30\" alt=\"Index\" \/><\/a><\/td>';
str+=' <td title=\"creatures 1 &amp; 2\" align=\" center\"
class=\"c5\">';
str+=' <a href=\"mc12.html\" target=\"_parent\">';
str+=' <img src=\"wbimg\\imgn1.gif\" rsrc=\"wbimg\\imgo1.gif\"
border=\"0\" width=\"90\" height=\"30\" alt=\"Creatures 1 &amp; 2\"
\/><\/a><\/td>';
str+=' <td title=\"dragon warrior monsters\" align=\" center\"
class=\"c5\">';
str+=' <a href=\"mdwm.html\" target=\"_parent\">';
str+=' <img src=\"wbimg\\imgn2.gif\" rsrc=\"wbimg\\imgo2.gif\"
border=\"0\" width=\"90\" height=\"30\" alt=\"Dragon Warrior Monsters\"
\/><\/a><\/td>';
str+=' <td title=\"japanese pangya\" align=\" center\" class=\"c5\">';
str+=' <a href=\"mjp.html\" target=\"_parent\">';
str+=' <img src=\"wbimg\\imgn3.gif\" rsrc=\"wbimg\\imgo3.gif\"
border=\"0\" width=\"90\" height=\"30\" alt=\"Japanese Pangya\"
\/><\/a><\/td>';
str+=' <td title=\"ogre battle saga\" align=\"center\" class=\"c5\">';
str+=' <a href=\"mobs-start.html\" target=\"_parent\">';
str+=' <img src=\"wbimg\\imgn4.gif\" rsrc=\"wbimg\\imgo4.gif\"
border=\"0\" width=\"90\" height=\"30\" alt=\"Ogre Battle Saga\"
\/><\/a><\/td>';
str+=' <td title=\"wizardry\" align=\" center\" class=\"c5\">';
str+=' <a href=\"mw.html\" target=\"_parent\">';
str+=' <img src=\"wbimg\\imgn5.gif\" rsrc=\"wbimg\\imgo5.gif\"
border=\"0\" width=\"90\" height=\"30\" alt=\"Wizardry\" \/><\/a><\/td>';
str+=' <td title=\"guestbook\" align=\" center\" class=\"c5\">';
str+=' <a href=\"mgb.html\" target=\"_parent\">';
str+=' <img src=\"wbimg\\imgn6.gif\" rsrc=\"wbimg\\imgo6.gif\"
border=\"0\" width=\"90\" height=\"30\" alt=\"Guestbook\" \/><\/a><\/td>';
str+=' <\/tr>';
str+=' <\/table>';
str+=' <script type=\"text\/javascript\" language=\"JavaScript1.1\"
src=\"rotatingimagemain.txt\"><\/script>';
str+=' <!-- Main Menu-Buttons End --><\/td>';
str+=' <td>';
str+=' <img src=\"menu_images\/menuright.gif\" width=\"4\" height=\"32\"
alt=\"menuright\" \/><\/td>';
str+=' <\/tr>';
str+=' <\/table>';
document.write(str);
}
writeJS();
//-->

Thank-you for those that helped, and thank-you to those that were in the
process of helping.

BTW to those interested here is the link I used to change HTML to
Javascript:
http://www.accessify.com/tools-and-w...ipt-convertor/
 
Reply With Quote
 
PeterMcC
Guest
Posts: n/a
 
      03-13-2006
S Kalynuik wrote in
<4y7a3qh8z9zd$(E-Mail Removed)>

> On Mon, 13 Mar 2006 08:02:53 -0500, S Kalynuik wrote:
>
>> Is there a way to allow css to act like a simple 2 frame setup.
>>
>> I want a fixed navigation header on all pages, website itself has
>> 100+ pages, each is multi paged with sub pages.
>>
>> So what I could do in frame is have 2 frames and clicking in the
>> header frame would load a seperate html page in the main frame,
>> therefore not having to repeat the header code 100+ times, can this
>> be done using css?
>>
>> I know css can use a float or fixed header position, even using
>> margins to trick ie into making a header section fixed. But this
>> still seems like I would have to repeat the header css on each page,
>> it would just be more fluid if the header always stayed loaded as it
>> does using frames.
>> Or is this scenario not going to work in css YET?
>>
>> BTW each page is header on top, fixed height and width, and main
>> body is scrollable up/down.
>>
>> TIA (Thank-you In Advance)
>>
>> If this is not possible is there a way to use the navigation html as
>> say a call and place that on everypage, like a css or javascript
>> call: <link rel="stylesheet" type="text/css" href="css/index.css" />
>> <script language="javascript" src="js/rollover.js"></script>
>>
>> I know the above loads a reference type file then applies those
>> standards in the case of a css link rel, but the javascript call
>> actually places code in the page, could this be done using html
>> common to all pages, ie navigation html segment?
>>
>> THank-you

>
> ok I looked in alot of places and now almost have what I want to work:
> the html file:
> **************
>
> <?xml version="1.0" encoding="UTF-8"? /?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" />
> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
>
> <!-- Generated by AceHTML Freeware http://freeware.acehtml.com -->
> <!-- Creation date: 3/8/2006 -->
>
> <head>
> <meta name="author" content="Steve Kalynuik" />
> <meta name="email" content="(E-Mail Removed)" />
> <title>Kingtut's Place - The Game Section</title>
> <link rel="stylesheet" type="text/css" href="css/index.css" />
> <script language="javascript" src="js/rollover.js"></script>
> <style>
> <!--
> div.c2 {text-align: center}
> -->
> </style>
> </head>
>
> <body onload="rollover()">
>
> <script language="javascript" type="text/javascript"
> src="ktptgs-head.js"></script>
>
> </body>
> </html>
>
> **************
> the js file:
> **************
>
> document.write ('<table border="0" cellspacing="0" cellpadding="0"
> id="table1" class="c3">');
> document.write (' <tr>');
> document.write (' <td>');
> document.write (' <img src="menu_images/mlt.gif" border="0"
> width="303" height="28" alt="mlt" /><img src="menu_images/mp.gif"
> border="0" width="80" height="28" alt="mp" /><img
> src="menu_images/mrt.gif" border="0" width="303" height="28"
> alt="mrt" />');
> document.write (' <br />');
> document.write (' <img src="menu_images/mlb.gif" border="0"
> width="303" height="97" alt="mlb" /><img src="menu_images/tutani.gif"
> border="0" width="80" height="97" alt="tutani" /><img
> src="menu_images/mrb.gif" border="0" width="303" height="97"
> alt="mrb" />');
> document.write (' <\/td>');
> document.write (' <\/tr>');
> document.write ('<\/table>');
> document.write ('<table border="1" cellspacing="0" cellpadding="0"
> id="table2" class="c3">');
> document.write (' <tr>');
> document.write (' <td>');
> document.write (' <img src="menu_images/menuleft.gif" width="4"
> height="32" alt="menuleft" /><\/td>');
> document.write (' <td colspan="2">');
> document.write (' <!-- Main Menu-Buttons -->');
> document.write (' <table align="center" cellpadding="0"
> cellspacing="0" border="0" id="table3" class="c4">');
> document.write (' <tr>');
> document.write (' <td title="index" align=" center" class="c5">');
> document.write (' <a href="index.html" target="_parent">');
> document.write (' <img src="wbimg\imgn0.gif" rsrc="wbimg\imgo0.gif"
> border="0" width="90" height="30" alt="Index" /><\/a><\/td>');
> document.write (' <td title="creatures 1 &amp; 2" align=" center"
> class="c5">');
> document.write (' <a href="mc12.html" target="_parent">');
> document.write (' <img src="wbimg\imgn1.gif" rsrc="wbimg\imgo1.gif"
> border="0" width="90" height="30" alt="Creatures 1 &amp; 2"
> /><\/a><\/td>');
> document.write (' <td title="dragon warrior monsters" align=" center"
> class="c5">');
> document.write (' <a href="mdwm.html" target="_parent">');
> document.write (' <img src="wbimg\imgn2.gif" rsrc="wbimg\imgo2.gif"
> border="0" width="90" height="30" alt="Dragon Warrior Monsters"
> /><\/a><\/td>');
> document.write (' <td title="japanese pangya" align=" center"
> class="c5">');
> document.write (' <a href="mjp.html" target="_parent">');
> document.write (' <img src="wbimg\imgn3.gif" rsrc="wbimg\imgo3.gif"
> border="0" width="90" height="30" alt="Japanese Pangya"
> /><\/a><\/td>'); document.write (' <td title="ogre battle saga"
> align="center" class="c5">');
> document.write (' <a href="mobs-start.html" target="_parent">');
> document.write (' <img src="wbimg\imgn4.gif" rsrc="wbimg\imgo4.gif"
> border="0" width="90" height="30" alt="Ogre Battle Saga"
> /><\/a><\/td>'); document.write (' <td title="wizardry" align="
> center" class="c5">'); document.write (' <a href="mw.html"
> target="_parent">');
> document.write (' <img src="wbimg\imgn5.gif" rsrc="wbimg\imgo5.gif"
> border="0" width="90" height="30" alt="Wizardry" /><\/a><\/td>');
> document.write (' <td title="guestbook" align=" center" class="c5">');
> document.write (' <a href="mgb.html" target="_parent">');
> document.write (' <img src="wbimg\imgn6.gif" rsrc="wbimg\imgo6.gif"
> border="0" width="90" height="30" alt="Guestbook" /><\/a><\/td>');
> document.write (' <\/tr>');
> document.write (' <\/table>');
> document.write (' <script type="text/javascript"
> language="JavaScript1.1" src="rotatingimagemain.txt"><\/script>');
> document.write (' <!-- Main Menu-Buttons End --><\/td>');
> document.write (' <td>');
> document.write (' <img src="menu_images/menuright.gif" width="4"
> height="32" alt="menuright" /><\/td>');
> document.write (' <\/tr>');
> document.write ('<\/table>');
>
> **************
> the problem is, the rollover images do not show, any ideas why not?
> THey do if wriiten properly in the html document.


Whatever works for you but I find:
<!--#include file="menus.txt"-->
is rather easier to implement.


--
PeterMcC
If you feel that any of the above is incorrect,
inappropriate or offensive in any way,
please ignore it and accept my apologies.
 
Reply With Quote
 
S Kalynuik
Guest
Posts: n/a
 
      03-13-2006
Thank-you again to all who helped.

I found a freeware tools to do the html to javascript conversion for me
from here,
http://www.easyhtools.com/ehsscreen.html

Works great, I paste the html code to the window, select convert to
javascript, save the converted script to a .js file, I remove the following
from the .js file:

<SCRIPT language="JavaScript" type="text/JavaScript">
</SCRIPT>

and then save, then I call the .js file to where I want it in the document
as follows:

<script language="javascript" type="text/javascript"
src="ktptgs-head.js"></script>

Thank-you agian to all.
BTW this method I am using above can be tested on a local machine as no asp
or php server is needed.
--
(E-Mail Removed)omcom
-=< FreeWare ForEver >=-
 
Reply With Quote
 
Steve Pugh
Guest
Posts: n/a
 
      03-14-2006
S Kalynuik <(E-Mail Removed)> wrote:

>Thank-you again to all who helped.
>
>I found a freeware tools to do the html to javascript conversion for me
>from here,
>http://www.easyhtools.com/ehsscreen.html
>
>Works great, I paste the html code to the window, select convert to
>javascript, save the converted script to a .js file, I remove the following
>from the .js file:
>
><SCRIPT language="JavaScript" type="text/JavaScript">
></SCRIPT>
>
>and then save, then I call the .js file to where I want it in the document
>as follows:
>
><script language="javascript" type="text/javascript"
>src="ktptgs-head.js"></script>
>
>Thank-you agian to all.
>BTW this method I am using above can be tested on a local machine as no asp
>or php server is needed.


And what happens when the user has JavaScript turned off? (And that
includes all search engines...)

Steve
--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <(E-Mail Removed)> <http://steve.pugh.net/>
 
Reply With Quote
 
S Kalynuik
Guest
Posts: n/a
 
      03-15-2006
On Tue, 14 Mar 2006 12:37:58 +0000, Steve Pugh wrote:

> S Kalynuik <(E-Mail Removed)> wrote:
>
>>Thank-you again to all who helped.
>>
>>I found a freeware tools to do the html to javascript conversion for me
>>from here,
>>http://www.easyhtools.com/ehsscreen.html
>>
>>Works great, I paste the html code to the window, select convert to
>>javascript, save the converted script to a .js file, I remove the following
>>from the .js file:
>>
>><SCRIPT language="JavaScript" type="text/JavaScript">
>></SCRIPT>
>>
>>and then save, then I call the .js file to where I want it in the document
>>as follows:
>>
>><script language="javascript" type="text/javascript"
>>src="ktptgs-head.js"></script>
>>
>>Thank-you agian to all.
>>BTW this method I am using above can be tested on a local machine as no asp
>>or php server is needed.

>
> And what happens when the user has JavaScript turned off? (And that
> includes all search engines...)
>
> Steve


Well the simple answer, the user/visiter does not see the JavaScript parts,
I will be having a simple text navigation on non-JavaScript users (but why
have JavaScript turned off in this day and age), as to the Search Engines
not seeing those parts, thats fine its only the navigation and email parts
that use JavaScript that are repeated needing this method. But the plus
side using this method also stops Spam Robots from getting my email address
as I have the footer information of each page call'ed as above, therefore
no written email addy on any page, hence no spam to me.
--
(E-Mail Removed)omcom
-=< FreeWare ForEver >=-
 
Reply With Quote
 
W˙rm
Guest
Posts: n/a
 
      03-15-2006

"S Kalynuik" <(E-Mail Removed)> kirjoitti
viestissä:(E-Mail Removed) t...
> On Tue, 14 Mar 2006 12:37:58 +0000, Steve Pugh wrote:


<snip>
>but why have JavaScript turned off in this day and age


well, for a SECURITY (google for cross site vulnerablities etc.) reasons. In
my case it's because security reasons and that some websites try abuse
JavaScript to do things I dislike.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I make this look like a button and act like an a href ? active ASP .Net Web Controls 4 04-03-2007 01:50 PM
yes minister and yes prime minister wanted music_mania DVD Video 11 12-11-2006 07:32 PM
[IE: Yes Opera:Yes Mozilla:No] : Error on Postback and Validation teo ASP .Net 3 11-11-2006 04:53 AM
Kernel.y and yes,yes,yes not least surprise Jamie Herre Ruby 1 01-07-2005 07:33 PM
yes yes Kevin Walsh Computer Support 1 08-30-2004 12:55 AM



Advertisments