close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Site assist 1.0.7. and lightbox

Thread began 8/09/2010 7:49 pm by omarmacias376396 | Last modified 8/10/2010 12:39 pm by omarmacias376396 | 1077 views | 4 replies |

omarmacias376396

Site assist 1.0.7. and lightbox

I have created a site using site assist pro 1.0.7., I have add a lightbox2 for pictures previews. The Files in the root run perfect and smooth with the lightbox2.

index.php contains the following code in the head section:

<script type="text/javascript" src="lightbox/js/prototype.js"></script>
<script type="text/javascript" src="lightbox/js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="lightbox/js/lightbox.js"></script>

(Example Workin: suites.php )

siteassistpro_template.dwt.php contains the following code in the head section:

<script type="text/javascript" src="../lightbox/js/prototype.js"></script>
<script type="text/javascript" src="../lightbox/js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="../lightbox/js/lightbox.js"></script>
<link rel="stylesheet" href="../lightbox/css/lightbox.css" type="text/css" media="screen" />

The problem that I’m having is when the files “is not” in the main root the lightbox2 do not display the progress and close icons.

(Example Not Working: delfin.php )

I have already try changing the following code in the lightbox.js file and nothing:

Before:
fileLoadingImage: 'lightbox/images/loading.gif',
fileBottomNavCloseImage: 'lightbox/images/closelabel.gif',

Now:
fileLoadingImage: '../lightbox/images/loading.gif',
fileBottomNavCloseImage: '../lightbox/images/closelabel.gif',

Did somebody know how to fix this problem?

Sign in to reply to this post

Jason ByrnesWebAssist

When I try your page at:
delfin.php

in IE 7, IE8 Fire Fox and Safari, the lightbox is working correctly.

I am not able to reproduce a problem.

Sign in to reply to this post

omarmacias376396

Thank you for your response. It´s weird because I have tried with different browsers and computers and in the delfin.php page a still cannot see the loading.gif and closelabel.gif like in the suites.php page.

Sign in to reply to this post

Jason ByrnesWebAssist

perhaps the browser has an older version of the age cached, try clearing the browsers cache.

Sign in to reply to this post

omarmacias376396

I found the solution:

I have change the paths in the lines 49 and 50 of the lightbox.js file

Originally was:
fileLoadingImage: '../lightbox/images/loading.gif',
fileBottomNavCloseImage: '../lightbox/images/closelabel.gif',

The Fix:
fileLoadingImage: 'http://www.mepuchi.com/lightbox/images/loading.gif',
fileBottomNavCloseImage: 'http://www.mepuchi.com/lightbox/images/closelabel.gif',

Thank you for your time Jason...!

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...