Go Back   Velocity Reviews > Newsgroups > HTML
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

HTML - Newbie question

 
Thread Tools Search this Thread
Old 02-25-2004, 03:45 PM   #1
Default Newbie question


Hi all

I have to start with saying that I am not a programmer. Incidentally I am
requiered to set up HTML pages
on an IIS server. My problem is that I want to use a CGI program (rrdcgi for
thos who may know this) in conjunction with
a Horizontal menu described here
http://www.dynamicdrive.com/dynamici...menu/index.htm.
I mentioned the CGI word above because I want to say that the pages
generated are out of my control.

Because I want to have the menu displayed on the top frame and the pages
loaded on the bottom frame I have to add the below listed code to each page
loaded in the bottom frame. Whithout doing this the menu doesn't work any
more.

<body
onload="javascript:{if(parent.frames[0]&&parent.frames['header'].Go)parent.f
rames['header'].Go()}">

In other words the tag <body > must become the above one.

Is there any way to do it automatically ? or to insert the code within the
HTML code generated by some external servers ?

Thak you
Cristian





Chris
  Reply With Quote
Old 02-25-2004, 04:10 PM   #2
Beauregard T. Shagnasty
 
Posts: n/a
Default Re: Newbie question

Quoth the raven named Chris:

> a Horizontal menu described here
> http://www.dynamicdrive.com/dynamici...menu/index.htm.


The demo:
http://www.dynamicdrive.com/dynamici...nu/horizon.htm

"Your browser does not support script"

This is what ~15% of your visitors will see; those with JavaScript
disabled or not available. In other words, they will have no
navigation. Bad Idea™.

Those kinds of drop down menus are generally annoying as well. While
viewing a page, move your mouse around the page while you're reading
the content.

> I mentioned the CGI word above because I want to say that the pages
> generated are out of my control.


If you are authoring the pages, why are they out of your control?

> Because I want to have the menu displayed on the top frame and the pages
> loaded on the bottom frame I have to add the below listed code to each page
> loaded in the bottom frame. Whithout doing this the menu doesn't work any
> more.


Are you sure you want to use frames? Google for "frames are evil"

--
-bts
-This space intentionally left blank.
  Reply With Quote
Old 02-27-2004, 06:17 AM   #3
Richard
 
Posts: n/a
Default Re: Newbie question

Beauregard T. Shagnasty wrote:

> Quoth the raven named Chris:


>> a Horizontal menu described here
>> http://www.dynamicdrive.com/dynamici...menu/index.htm.


> The demo:
> http://www.dynamicdrive.com/dynamici...nu/horizon.htm


> "Your browser does not support script"


> This is what ~15% of your visitors will see; those with JavaScript
> disabled or not available. In other words, they will have no
> navigation. Bad Idea™.



Why is that the minority always outweighs the majority?
85% of ALL users have javasrcript "TURNED ON" and therefor will be able to
access the site.

You see a glass of water with 50% capacity.
You would say that the glass is "half empty", just like your brain.


  Reply With Quote
Old 02-27-2004, 07:39 AM   #4
Toby A Inkster
 
Posts: n/a
Default Re: Newbie question

Richard wrote:

> Why is that the minority always outweighs the majority?


It doesn't. But the total outweighs the majority.

> 85% of ALL users have javasrcript "TURNED ON" and therefor will be able to
> access the site.


By creating a navigation system that requires Javascript, then 85% of
people can use your site. By creating a navigation system that doesn't
require Javascript, 100% of people can use your site.

The total (100%) outweighs the majority (85%).

The minority barely factors into the inequation.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me - http://www.goddamn.co.uk/tobyink/?page=132

  Reply With Quote
Old 02-27-2004, 08:21 AM   #5
Leif K-Brooks
 
Posts: n/a
Default Re: Newbie question

Richard wrote:
> Why is that the minority always outweighs the majority?
> 85% of ALL users have javasrcript "TURNED ON" and therefor will be able to
> access the site.


They don't, no one is saying that something bad should be done to the
85% with scripting enabled. Why is it that you think 15% of people
should be barred from your site when no one needs to be?
  Reply With Quote
Old 02-27-2004, 03:54 PM   #6
Beauregard T. Shagnasty
 
Posts: n/a
Default Re: Newbie question

Quoth the raven named Richard:

> Beauregard T. Shagnasty wrote:
>
>> Quoth the raven named Chris:

>
>>> a Horizontal menu described here
>>> http://www.dynamicdrive.com/dynamici...menu/index.htm.

>
>> The demo:
>> http://www.dynamicdrive.com/dynamici...nu/horizon.htm

>
>> "Your browser does not support script"

>
>> This is what ~15% of your visitors will see; those with
>> JavaScript disabled or not available. In other words, they will
>> have no navigation. Bad Idea™.

>
> Why is that the minority always outweighs the majority? 85% of ALL
> users have javasrcript "TURNED ON" and therefor will be able to
> access the site.


So. You're willing to lose 15% of your annual business? Fine. Send it
my way.

> You see a glass of water with 50% capacity. You would say that the
> glass is "half empty", just like your brain.


No, my brain is only 15% empty, but the parts of it that use logic and
common sense are full to the brim. Perhaps you need to wander over to
WalMart and shop for some yourself. There's a 15% rebate on Common
Sense this week.

And you are once again forgetting that your most important visitor
does not use JavaScript. The Googlebot.

--
-bts
-This space intentionally left blank.
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump