Ok so I took a look at the advanced usage section and see now where to add onclick, but still, that page is quite confusing for a novice like me. The main greybox page has examples that are easy to understand and replicate . I'm going to keep playing with onclick, hopefully I can figure it out.
On Apr 2, 12:33 pm, j0hnguy <[email protected]> wrote: > Thanks for the reply. > > After reading more topics in this group I changed the location of > greybox to > > GB_ROOT_DIR="./greybox/" > > Now when I preview the code it seems to be working perfect but its > still not showing up on my actual site. This leads me to believe its > the dreamweaver issue causing my dilemma. I'm sorry for the stupid > question but how/where do I actually "override with onclick"? Is this > a function within Dreamweaver or something I need to change in the > Greybox scripts? > > Thanks again > > On Apr 2, 8:58 am, Logos <[email protected]> wrote: > > > Hullo j0hnguy. Your greybox is not where your code says it is on your > > server (var GB_ROOT_DIR = "http://www.johnguypetruzzi.com/ > > greybox/";) If you plughttp://www.johnguypetruzzi.com/greybox/into > > the address bar, a 404 comes up. > > > You can find troubleshooting tips > > here:http://malthusian-solutions.com/ms/index.php?q=node/6 > > > Be aware that Dreamweaver also likes to override the body onload, > > which will disable using greybox with rel. You might just want to > > look at the advanced usage and override with onclick instead. > > > -- > > Tyler Stylehttp://malthusian-solutions.comhttp://nirdvana.com > > > j0hnguy wrote: > > > Hello all. > > > > I'm a total novice designing my first website which is an extremely > > > simple layout designed for showcasing my artwork. I discovered > > > greybox and it seems great, but I'm having problems. > > > > I'm using dreamweaver. When I preview my page it seems to be working > > > at least partially. My thumbnail links show up fine and launch > > > greybox when clicked, but the files are not found. Also the arrows > > > and close symbol are no where to be found. > > > > When I try to view the actual page online its even worse. Nothing at > > > all shows up. This is making it hard for me to address the problems > > > because I don't know where to start first. I read in the FAQ about > > > the issue with dreamweaver but I can't find the cited problem code > > > anywhere. > > > > I would greatly appreciate any help or advice. > > > > Thanks > > > > and here's my code: > > > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http:// > > >www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > > > <html xmlns="http://www.w3.org/1999/xhtml"> > > > <head> > > > <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> > > > <title>John Guy Petruzzi Fine Art & Illustration</title> > > > <script type="text/javascript"> > > > var GB_ROOT_DIR = "http://www.johnguypetruzzi.com/greybox/"; > > > </script> > > > <script type="text/javascript" src="greybox/AJS.js"></script> > > > <script type="text/javascript" src="greybox/AJS_fx.js"></script> > > > <script type="text/javascript" src="greybox/gb_scripts.js"></script> > > > <link href="greybox/gb_styles.css" rel="stylesheet" type="text/css" /> > > > > </head> > > > > <body> > > > <a href="http://www.johnguypetruzzi.com/broodparasite.jpg" > > > title="Brood Parasite 2009" rel="gb_imageset[paper]"> > > > <img src="BPthumb.jpg" width="200" height="187" alt="" border="0" /> > > > </a> > > > <a href="http://www.johnguypetruzzi.com/deserttotem.jpg" title="Desert > > > Totem 2009" rel="gb_imageset[paper]"> > > > <img src="desertthumb.jpg" width="200" height="187" alt="" border="0" / > > > > </a> > > > <a href="http://www.johnguypetruzzi.com/sealmasters.jpg" > > > title="Sealmasters 2009" rel="gb_imageset[paper]"> > > > <img src="sealthumb.jpg" width="200" height="187" alt="" border="0" /> > > > </a> > > > <a href="http://www.johnguypetruzzi.com/waterwalkers.jpg" title="Water > > > Walkers 2009" rel="gb_imageset[paper]"> > > > <img src="wwthumb.jpg" width="200" height="187" alt="" border="0" /> > > > </a> > > > <a href="http://www.johnguypetruzzi.com/piracy.jpg" title="Piracy > > > 2009" rel="gb_imageset[paper]"> > > > <img src="piracythumb.jpg" width="200" height="187" alt="" border="0" / > > > > </a> > > > </body> > > > </html> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

