I need to display items in a very nice looking pop-up window. I’m not very familiar with Java Script or Ajax so is there a free program or a script someone can point me to that will display a nice looking window to show a product image and description?
@janusmccarthyJan 10.2011 — #maybe a race condition, try moving the directory declaration to either where the documentation says, or above the scripts like so:
@NtrimgsauthorJan 10.2011 — #maybe a race condition, try moving the directory declaration to either where the documentation says, or above the scripts like so:
and you might want to get rid of the var too, in case its a scoping issue[/QUOTE]
I tried out what you said (except for getting rid of the var) and the window pops up now but the url doesn't go where it's supposed to go. Here's the exact code I'm using now:
@janusmccarthyJan 10.2011 — #Okay, I'm not entirely familiar with greybox, but some I saw:
1. Scripts then links to css (I don't suspect this will be a problem, but in general it'll make your page faster if you put js definitions as close as possible to the top of your html document, and css definitions as close as possible to the bottom of your html document. Take a gander at yahoo developer network if you want to know more, there's a good explanation there that's really a must for any web developers.