Eve For Enterprise    Eve Support Community    Forums  Hop To Forum Categories  Resources  Hop To Forums  Development, & Software Talk    JavaScript src= to reference a navagion bar

Moderators: Mark Badolato
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Groupee Member
Picture of Teo1
Posted
Hi,

Thanks for the great products, services, and this opportunity to share! Wink

I made a navigation bar (that auto sizes!) with 7 options, and I want that nav bar on top and bottom of most all pages.

I searched these same support forums and found that the INCLUDE tag isn't supported, rather, use JavaScript SRC=.

When I want it:
<script language="JavaScript" type="text/javascript" src="http://givnology.com/cartooch.js"></script>


The text file I simply surrounded with
document.write("
...all the nav bar code...
")


I did have to globally change all " to ' first, and get rid of every return. Now I can just change my src code and not have to update every style setting! Yay!

Happy camper,
Teo
Big Grin


Wellness Arts forums: Givnology.com
 
Posts: 113 | Location: Berkeley, California | Registered: April 14, 2003Reply With QuoteEdit or Delete MessageReport This Post

Posted Hide Post
Sharp idea, Teo. Nice work Big Grin


---------------------------
Go Sox!
 
Posts: 12025 | Registered: March 12, 1999Reply With QuoteEdit or Delete MessageReport This Post
Groupee Member
Picture of Daveht
Posted Hide Post
What did he say???????
 
Posts: 178 | Location: NH | Registered: March 07, 2005Reply With QuoteEdit or Delete MessageReport This Post

Posted Hide Post
Essentially, he put his navigation bar in a javascript include, and links to that in all of his display settings.

Now when he wants to make a change to his nav bar he only has to edit one file instead of editing all of his display sets.


---------------------------
Go Sox!
 
Posts: 12025 | Registered: March 12, 1999Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

Eve For Enterprise    Eve Support Community    Forums  Hop To Forum Categories  Resources  Hop To Forums  Development, & Software Talk    JavaScript src= to reference a navagion bar