as greubox creats problems with  onload

You can have either  approach
1.AJS.preloadImages('img1.jpg',......)
2.call your proload method  instead of onLoad as a funciton in the script.

Thanks & Regards
Prasad



Tom Stoppard  - "I think age is a very high price to pay for maturity."

On Fri, Nov 14, 2008 at 3:18 PM, erom <[EMAIL PROTECTED]> wrote:

>
> Hello, everybody this is my problem. I want to create a web site with
> a lot a grafics(photos) that's why I used ImageReady. I am also using
> code to present some photos with the help of GreyBox.
>
> With ImageReady I made some slices in the main photos ( which of
> course produced somejavasrcipt code). GreyBox also uses javasrcipt
> code. I want to combine (use) both of them simultaneously.
>
> The problem is that they don't work together. On the body tag I am
> calling
> onload="preloadImages();"
>
> which fires some changes in the photo slices I have created through
> javascript code.
>
> The code of Greybox in this .html file (same file) is the following:
> <script type="text/javascript">
>
> var GB_ROOT_DIR = "./GreyBox_v5_53/greybox/";
>
> </script>
>
>
>
> <script src="GreyBox_v5_53/greybox/AJS.js" type="text/javascript"></
> script>
> <script src="GreyBox_v5_53/greybox/AJS_fx.js" type="text/javascript"></
> script>
>
> <script src="GreyBox_v5_53/greybox/gb_scripts.js" type="text/
> javascript"></script>
> <link href="GreyBox_v5_53/greybox/gb_styles.css" rel="stylesheet"
> type="text/css" />
>
> which is written after the title tag.
>
> If I delete the onload method the Greybox works fine otherwise If I
> use it (onload method) then I have the mouseover changes in the photos
> that I have created but I can't display the photos
>
> though the GreyBox (It just displays the photos I have specified in a
> new page).
>
> Any help?????????
>
> I can send the whole file-code if it helps
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GreyBox" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/greybox?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to