This is a discussion on Have the box, but can't do what I want to. within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; Hello, I have been wrestling with something for far too long now. I am trying to make a new column ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hello, I have been wrestling with something for far too long now. I am trying to make a new column box (DONE) in the right column and all I want in there are four links where each link opens an image using javascript. I have the images, I have the javascript that I want to use. But, I don't know where to put the html file with the javascript. Can anybody just give me a few pointers, please? Lobo |
| Sponsored Links | ||
| ||
|
#2
| ||||
| ||||
| If javscript needs to go in the head section of the page = main_page.tpl.php. If in the body, just put it in the box itself.
__________________ Michael Sasek osCMax Developer
|
|
#3
| |||
| |||
| Michael, I followed the instructions for creating a new box and, having done so, I could create a duplicate of any of the existing boxes on the main template. It is fairly confusing because about 3 files are involved in creating a new box. However, what I'm doing is different than any of the existing boxes. So, I am trying to understand which files I put my... [1] Link text in, such as a link to "Font Choices" [2] javascript in, to pop-up the "Font Choice.jpg" image That's the help I need. This site has something similar (from your Web Links page) see "Resources" in the left column of this site: http://honeybeadjewelry.com/catalog/ Thank you for your time. Lobo |
|
#4
| ||||
| ||||
| Hi, easy way: 1. Create the links in your new box ( the file in the boxes direcrtory) 2. Put the popup javascript in the new box as well. ( the file in the boxes direcrtory) BTS correct way: 1. Define your box text constants in english.php 2. Create the links in your new box using your box text constants ( the file in the boxes direcrtory) 3. Put the popup javascript file in the new box or in /includes/javascript directory.
__________________ Michael Sasek osCMax Developer
|
| Sponsored Links | ||
| ||