make graphic display another graphic, then close on click

  • aaadesign
  • Born
  • Born
  • aaadesign
  • Posts: 1

Post 3+ Months Ago

There seems to be some great info on this forum. Hopefully someone can help me out.

We are building a webpage that lists several products (jarred fruit) that each have two nutritional charts. To make the page as simple as possible, we'd like to list the products and create a link underneath that would "bring up" the nutritional chart when the user clicks on the specific size (24oz or 8oz). Then after the user has read the nutritional chart, they would have the ability to close the chart and select another product's chart to view.

Now we CAN do this as javascript pop up windows, but my fear is that with all the pop up blockers, the charts would get blocked. So I'd like to do it in Flash. Does anyone know know how to do that? What behaviors/actions to use?

FYI - I have very basic knowledge of Flash. In the past, I have created animated banners and linked them to webpages.

Thanks for the help!
  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Posts: 1828
  • Loc: In the Great White North

Post 3+ Months Ago

If your javascript is pretty good why not use dHtml layers and turn them on or off with javascript? I like flash as much as the next person but if you don't really need it (or don't learn enough of it to easily update your products at a later time) then I'd say do it the quickest way you can.

link to dhtml and display:none; http://www.bobbyvandersluis.com/articles/unobtrusiveshowhide.php

basically what your doing is using javascript to change the css style of a div

Code: [ Select ]
<div ID="info" style="display:none">content</div>


vs

Code: [ Select ]
<div ID="info" style="display:block">content</div>
  • rockafromhell
  • Student
  • Student
  • rockafromhell
  • Posts: 70
  • Loc: Erie,Pa

Post 3+ Months Ago

you could create a window in flash and have on button click to _root and play window open and have it play open and load information by catchin a variable on load i just did this recently but thats only way i think you could do it with flash and ive done it so if you need help i can help heres and example of what i meant

Link: http://www.night.izzohosting.com/states234.swf

click on the erie one should open window where u can drag by pressing side and holding you can also close it with the close box and open a new window



Josh

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 2 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.