both options u have to include inside your <script> tags
AJS.preloadImages('image1.jpg','image2.gif');
image1,..... are the images which you want to proload..
the secong option you can directly call ur preload funciton inside The
script tags.
like
<scrript>
Your_preload();
</script>
On 12/8/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
>
>
> Sorry - I'm not sure I understand what you're saying...
> Dont I need a tag for the
> AJS.preloadImages('image1.jpg','image2.gif');
> otherwise it is random code.
> and what are the image1 and image2 - what if I want to have a webpage
> on my greybox
>
> about the second option-
> How would I write that? Would it work for a webpage?
>
> On Dec 8, 7:34 am, "Lakshmiprasad Manchala" <[EMAIL PROTECTED]>
> wrote:
> > You can put
> > AJS.preloadImages('image1.jpg','image2.gif');
> > in Your page after u included your js scripts
> >
> > (or)
> >
> > Directly can call your preloadImages in the js like my_preloadImages() in
> a
> > script tag.
> >
> > On 12/8/08, [EMAIL PROTECTED] <
> [EMAIL PROTECTED]>
> > wrote:
> >
> >
> >
> > > Can anyone help me?
> > > I am creating a page n DreamWeaver, and have a preload function in the
> > > top. Greybox refuses to work unless I have the preload removed, but I
> > > need the preload for buttons. On the greybox FAQ, -
> > >http://orangoo.com/labs/GreyBox/FAQ/#q9
> > > it says to put in
> > > AJS.preloadImages('image1.jpg','image2.gif');
> > > but I have no clue how or where to put it. Someone help please!!
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---