1
Tango
Sothink resourcefile implementation in theme
  • 2005/1/26 18:14

  • Tango

  • Just popping in

  • Posts: 7

  • Since: 2005/1/23


Trying to add a DHTML-menu i used in another CMS, but i can`t get the images activ.

Using resourcefile (menu.js) instead of pasting the entire code at the site.
Files are included in the same folder as the theme and pasted in head and body

Anyone who has tried this? I`m new to Xoops

Tango

2
carnuke
Re: Sothink resourcefile implementation in theme
  • 2005/1/26 19:53

  • carnuke

  • Home away from home

  • Posts: 1955

  • Since: 2003/11/5


Hello tango and welcome to XOOPS forums

If you place you menu.js in the theme folder you would call it like this:

<script language="javascript" src="<{$xoops_imageurl}>menu.js">script>


likewise if you made an image folder for your menus, you would reference the images like this

src="<{$xoops_imageurl}>images/image1.gif"


Hope this helps

Richard

3
Tango
Re: Sothink resourcefile implementation in theme
  • 2005/1/26 22:43

  • Tango

  • Just popping in

  • Posts: 7

  • Since: 2005/1/23


Thanks alot Richard !!!!

That did the trick!

Another issue i work with is to implement section images to site. used to do it in .js when working with PHP.
since i now can build the entire theme in HTML i figure i can include the section image this way in theme.htm ?????

anyone know how to call it?

Tango

Login

Who's Online

386 user(s) are online (272 user(s) are browsing Support Forums)


Members: 0


Guests: 386


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits