Announcement

Collapse
No announcement yet.

Section image rollover problems

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Section image rollover problems

    Hi, I am trying to change my section text to images. At the minute they are just text links and i want them to be rollover images, so they follow the same design as my main navigation. I have downloaded and followed the advanced user guide (Page 15) but i keep getting the error below when i upload the site:


    Warning: Some of the configuration variables were not found in the HTML templates. If you modified these templates, make sure the results are what you want. If you have not modified the templates, the files are probably corrupt. Try restoring them from a backup or contact your Actinic reseller or Actinic Support as appropriate.

    (and the section images do not appear, simply just the same text as before).

    This is exactly what i did below

    Creating a Rollover for your Section Links

    First of all, create two new custom properties in 'Advanced | Custom Properties' called 'SECTIONIMAGE' and 'SECTIONIMAGE2'.
    Then, supply a value for 'SECTIONIMAGE' and 'SECTIONIMAGE2' within the 'Properties' tab of your sections. 'SECTIONIMAGE' should be the image you want to appear as standard, 'SECTIONIMAGE2' is your rollover image.
    (at this point i typed in nav_bugle.gif & nav_bugle2.gif, which are stored in the open in Site1)


    Tick 'Use as Customvar' and 'Is file name' for each of them.
    (I ticked Customvar for both, but there was no "Is file name", just "file name" or "use file content")

    Then, use the following code in your section list layout template (in 'Design Options | Layouts') in place of

    <A HREF="NETQUOTEVAR:SECTIONLINK">NETQUOTEVAR:SECTIONIMAGE</A>

    <A HREF="NETQUOTEVAR:SECTIONLINK">
    <img src="CUSTOMVAR:SECTIONIMAGE"
    alt="NETQUOTEVAR:SECTIONNAME"
    onMouseOver="src='CUSTOMVAR:SECTIONIMAGE2' "
    onMouseOut="src='CUSTOMVAR:SECTIONIMAGE' "
    Advanced Users Guide - 16
    border="0">
    </A>

    can anyone please shed some light on what i am doing wrong?

    cheers

    stu

    #2
    Tick the file name box.
    Bill
    www.egyptianwonders.co.uk
    Text directoryWorldwide Actinic(TM) shops
    BC Ness Solutions Support services, custom software
    Registered Microsoft™ Partner (ISV)
    VoIP UK: 0131 208 0605
    Located: Alexandria, EGYPT

    Comment


      #3
      Hi Stu.
      I'm fairly sure that Advanced Users Guide - 16 shouldn't be in the code.

      The warning that you're getting is because your new code no longer has any reference to NETQUOTEVAR:SECTIONIMAGE (since you're now using CUSTOMVAR:SECTIONIMAGE instead). Actinic is just warning you to make sure that this is what you intended .

      Dave

      Comment

      Working...
      X