Results 1 to 4 of 4

Thread: Inserting HTML rollovers onto a page...
      
   

  1. #1
    beejay_86 is offline Private
    Join Date
    Jun 2007
    Posts
    2

    Default Inserting HTML rollovers onto a page...

    Hello,

    I've created a rollover image using Photoshop & ImageReady CS, which saves in html format. However when I insert this image onto a page (I'm doing it via Insert>Advanced>HTML then Import) it does not display on the screen when I preview the page in browser... all the individual images formed by slices don't load. If anyone could point out what I'm doing wrong or a way they've done this successfully it would be a major help.

    Cheers :)
    Beejay

  2. #2
    beejay_86 is offline Private
    Join Date
    Jun 2007
    Posts
    2

    Default Re: Inserting HTML rollovers onto a page...

    It's okay, I figured it out. I'm an idiot sometimes.......... I just inserted a new frame and made the contents my html file.

  3. #3
    Join Date
    Oct 2005
    Location
    England, UK
    Posts
    4,207

    Default Re: Inserting HTML rollovers onto a page...

    Thanks for providing your solution, Beejay. Hopefully that may help someone else in the future. ;o)

    VodaHost

    Your Website People!
    1-302-283-3777 North America / International
    07031847328 / United Kingdom

    ------------------------

    Top 3 Best Sellers

    Web Hosting - Unlimited disk space & bandwidth.

    Reseller Hosting - Start your own web hosting business.

    Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)



  4. #4
    Robert's Avatar
    Robert is offline First Lieutenant
    Join Date
    May 2005
    Location
    Dallas, TX USA
    Posts
    296

    Default Re: Inserting HTML rollovers onto a page...

    Because you are using Photoshop, you will need to make sure that when importing the code into an HTML box in BV:

    INSERT>ADVANCED>HTML...Import

    **the html code created by Photoshop when saving files differs, depending on how you have your output settings for "Saving Files".
    Normally I think it refferences the "src" of the slice images to be in the same folder as the html file while some users have Photoshop place them in a newly created "images" folder alongside the html file.

    Either way, the SLICE IMAGES and the HTML file need to be in the same directory(folder) to work properly.

    In other words, you should have the

    html file with the slice images all saved in the same location

    OR you should have the

    html file and an "images" folder with the slice images saved in the same location.---once again this depends on how you configure Photoshop to output the file(s) when saving.

    The reason why it doesn't work in PREVIEW is because those slice images are not located in the same directory as the preview. Try this:

    Preview any page in BV and look at the address bar in your browser window. You should see something like this:

    C:\Documents and Settings\***your profile folder***\Local Settings\Temp\preview\preview.html

    the images would need to be inside the "preview" folder to work in preview. Here's a trick, navigate to that folder, then right-click and choose "Send to Desktop(create shortcut). Now setup Photoshop to save the slice images in an "images" folder and when you want to preview in BV simply drag-n-drop the "images" folder onto the shortcut to the "preview" folder on your desktop. Now you should be able to have a working preview of your rollover.

    ---I use this tactic for creating page templates using Photoshop's "save slices as files".
    Robert
    www.GraphXntrix.com
    Your Visual Revolution Solution

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49