Jump to content

What is wrong with this


dan_t

Recommended Posts

I know very little about javascript, but I believe this is supposed to be the navigation system.

<STYLE type="text/css">
		<!--

						.navBackgroundNavigationyss { background-image:url('/~media/elements/LayoutClipart/../LayoutClipart/NavTabs/Basic_Tab_White_Unselected.gif'); background-position: center; background-repeat:no-repeat }
						.navBackgroundSelectedNavigationyss { background-image:url('/~media/elements/LayoutClipart/../LayoutClipart/NavTabs/Basic_Tab_White_Selected.gif'); background-position: center; background-repeat:no-repeat }

					-->
	</STYLE>

I tried adding a script tag, but it still did not work.

Any idea's?

The navigation on the site is not showing, just this error:

[an error occurred while processing this directive]

Link to comment
https://forums.phpfreaks.com/topic/205011-what-is-wrong-with-this/
Share on other sites

Here's another one that was at the bottom

<STYLE type="text/css">
		<!--
						.navBackgroundNavigationbottom { background-image:url('/~media/elements/LayoutClipart/../LayoutClipart/NavTabs/Basic_Tab_White_Unselected.gif'); background-position: center; background-repeat:no-repeat }
						.navBackgroundSelectedNavigationbottom { background-image:url('/~media/elements/LayoutClipart/../LayoutClipart/NavTabs/Basic_Tab_White_Selected.gif'); background-position: center; background-repeat:no-repeat }
					-->
	</STYLE>

This is a homestead.com deal, and it looks like quite a mess.

There is a good reason that doesn't work when you add a script tag - it's not javascript. It's CSS, which is an entirely different thing.

 

That error you are getting has nothing to do with the code being shown. CSS doesn't throw up errors. It just either works, or doesn't.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.