osCmax v2.5 User Manual
Results 1 to 4 of 4

Have the box, but can't do what I want to.

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

      
  1. #1
    Member
    Join Date
    Jan 2005
    Posts
    49
    Rep Power
    0


    Default Have the box, but can't do what I want to.

    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

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default RE: Have the box, but can

    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


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    Member
    Join Date
    Jan 2005
    Posts
    49
    Rep Power
    0


    Default Just a little more of a hint, please...

    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. #4
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default RE: Just a little more of a hint, please...

    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


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •