MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] Adding Javascript functions to catalog



You could put all the javascript in a file called javascript and then 
set it up in your catalog.cfg. Then do a  find </head> and replace 
with __javascript__\n</head>

and as always reboot :)

Ven


>******    message to minivend-users from Eric Paul 
><epaul@spellbook.net>     ******
>
>Is there any easy way to add a hefty amount of Javascript code to 
>the HEAD section of all my minivend pages?  My client wants to make 
>the navigation images change color when you move your mouse over 
>them.  Really simple little script, but it takes a lot of setup code 
>to do that really simple function.  And I'm not looking forward to 
>going into each and every file with a HEAD in it and copying in that 
>code, because I know I'll probably miss one.  Plus if they decide 
>they want to change things later, then I have to go thru each one of 
>those files again and change the script.  Any suggestions of how I 
>can make this easier to maintain?
>
>Eric
>---
>Eric Paul
>SpellBook Systems
>http://www.spellbook.net
>-
>To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
>email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
>Archive of past messages: http://www.minivend.com/minivend/minivend-list


Ven's News: http://www.pragakhan.com/news.html

                    HEAVEN IS AN ORGASM is Rereleased
              http://lordsofacid.pragakhan.com/heavenisanorgasm

Ven (ven@pragakhan.com) _________________ http://ven.pragakhan.com __
AOL: WebmstrVen     Praga Khan's Official Website        ICQ: 8321393
                       http://www.pragakhan.com
                     Lords of Acid Official Website
                       http://www.lordsofacid.com


Search for: Match: Format: Sort by: