From: hollybelle on
I've recently upgraded from DWMX to DW8 and am having trouble with the Behavior
Picture Window Fever (which generally allows me to click on a thumbnail and go
to the larger related image). When I do so now, for many of the sites I update,
the behavior no longer functions properly. When I click on the thumbnail, I get
a long rectangular box with no image... when I go back and look at the behavior
attributes in DW8, the fields are all scrambled. I've downloaded Just So
Picture Window as an alternative (I'm less familiar with this Behavior). It
seems to work but can't be linked directly to the thumbnail image - seems to
need a text link to make it function?? Any ideas?

From: Murray *ACE* on
Show us the page, please.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"hollybelle" <webforumsuser(a)macromedia.com> wrote in message
news:f2hunk$atk$1(a)forums.macromedia.com...
> I've recently upgraded from DWMX to DW8 and am having trouble with the
> Behavior
> Picture Window Fever (which generally allows me to click on a thumbnail
> and go
> to the larger related image). When I do so now, for many of the sites I
> update,
> the behavior no longer functions properly. When I click on the thumbnail,
> I get
> a long rectangular box with no image... when I go back and look at the
> behavior
> attributes in DW8, the fields are all scrambled. I've downloaded Just So
> Picture Window as an alternative (I'm less familiar with this Behavior).
> It
> seems to work but can't be linked directly to the thumbnail image - seems
> to
> need a text link to make it function?? Any ideas?
>


From: hollybelle on
Hi Murray
Here is a link to a page which demonstrates my problem with the pop up images:
http://www.genalacoste.com/gallery3_temp.htm
The top row/top four images had the Picture Window Fever Behavior applied via
DW8 - what I get when I view this page in both Safari & Netscape is a long
rectangular box with a question mark in it. The lower two rows of the table
(bottom 8 images) still appear to have the popups working properly because I
haven't touched them since I applied the Behavior in my DWMX days.

I actually pulled this site down on an older PC computer (I'm generally on a
Mac) that still has DWMX on it... I can apply the Picture Window Fever Behavior
to the images with no problem using that software.

Any suggestions would be appreciated.


From: Murray *ACE* on
Try this. Change this -

<img src="images/art_pieces/nov16/c_of_c_2.jpg" width="108" height="70"
border="1"
onClick="openPictureWindow_Fever('images/art_pieces/nov16/c_of_c.jpg','600','391','Comfort
of Compadres','','')">

to this -

<a href="#"
onClick="openPictureWindow_Fever('images/art_pieces/nov16/c_of_c.jpg','600','391','Comfort
of Compadres','','');return false"><img
src="images/art_pieces/nov16/c_of_c_2.jpg" width="108" height="70"
border="1" ></a>

and see if that works.

If it does, your problems are caused by the fact that you have applied the
behavior TO THE IMAGE TAG, and not TO AN ANCHOR THAT WRAPS THE IMAGE.

What you should do (to avoid this) is to change the event on all the
remaining images from onClick to <A> onClick, by selecting the behavior in
the Behaviors panel, and dropping down the event list for it. That will get
you the <a> tag, but it will not get you the 'return false'. To get that,
try David Powers' excellent "Smart Link" extension from the Adobe Exchange.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"hollybelle" <webforumsuser(a)macromedia.com> wrote in message
news:f2iea2$su3$1(a)forums.macromedia.com...
> Hi Murray
> Here is a link to a page which demonstrates my problem with the pop up
> images:
> http://www.genalacoste.com/gallery3_temp.htm
> The top row/top four images had the Picture Window Fever Behavior applied
> via
> DW8 - what I get when I view this page in both Safari & Netscape is a long
> rectangular box with a question mark in it. The lower two rows of the
> table
> (bottom 8 images) still appear to have the popups working properly because
> I
> haven't touched them since I applied the Behavior in my DWMX days.
>
> I actually pulled this site down on an older PC computer (I'm generally on
> a
> Mac) that still has DWMX on it... I can apply the Picture Window Fever
> Behavior
> to the images with no problem using that software.
>
> Any suggestions would be appreciated.
>
>


From: E Michael Brandt on
Or simply use the JustSo PictureWindow 3 behavior you bought, applying
the behavior to the <a> tag as Murray has explained is necessary, and
not to the thumbnails <img> tag itself. jspW3 adds the return false for
you, and can automatically put the fullsize imagename in the href link,
which is for javascript-disabled browsers.

emichael brandt




Murray *ACE* wrote:
> Try this. Change this -
>
> <img src="images/art_pieces/nov16/c_of_c_2.jpg" width="108" height="70"
> border="1"
> onClick="openPictureWindow_Fever('images/art_pieces/nov16/c_of_c.jpg','600','391','Comfort
> of Compadres','','')">
>
> to this -
>
> <a href="#"
> onClick="openPictureWindow_Fever('images/art_pieces/nov16/c_of_c.jpg','600','391','Comfort
> of Compadres','','');return false"><img
> src="images/art_pieces/nov16/c_of_c_2.jpg" width="108" height="70"
> border="1" ></a>
>
> and see if that works.
>
> If it does, your problems are caused by the fact that you have applied the
> behavior TO THE IMAGE TAG, and not TO AN ANCHOR THAT WRAPS THE IMAGE.
>
> What you should do (to avoid this) is to change the event on all the
> remaining images from onClick to <A> onClick, by selecting the behavior in
> the Behaviors panel, and dropping down the event list for it. That will get
> you the <a> tag, but it will not get you the 'return false'. To get that,
> try David Powers' excellent "Smart Link" extension from the Adobe Exchange.
>