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
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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.