HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 21st, 2000, 03:55 AM
peb peb is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2000
Location: Seattle, WA - USA
Posts: 1 peb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I'm trying to write a javascript which uses the concept of the script which only opens a pop-up window the first time a visitor comes to a site in order to change the content of my shockwave Flash plugin. My flash site begins with a movie which ends by animating my user interface. I want my site to start with this movie, rather than an intro page, for dramatic effect, but I don't want this to become redundant. The problem is that when a visitor goes to a differen't part of my site and then navigates back to my home page they have to watch the whole movie again. Of course they could use my other navigation buttons but I would really like to be able to alter flash content depending on all user actions. My intial strategy was to write a cookie and then check to see if a user had been to my site before. I would then use document.write to create one of two web pages dynamically which would include the appropriate flash file inside the <object> tag. I had some success with this in the sense that my script worked from IE session to IE session, but not within one session. That is, it worked if I closed the browser and then reopened it. I think this is due to the fact that the "smart" Active X handler in IE caches the URL along with the classID of the <object> tag for use within a single session? Anyways, My hack idea so far was to use a frameset with two windows. One which displayed the content generated from a the other window which contained the javascript which would dynamically provide it. This content would itself be one of two framesets, each containing a differen't URL which in turn contained a differen't flash file. My idea was that if the Active x handler was associating the classID with a URL then I would provide a differn't URL inside the a frameset whose URL would remain the same!? At this point I have probably invested way too much time, but I'm in too deep now to just give up. I would have to trash my flash movie or just live with it as is. My problem now is that my knowledge of framesets and javascript isn't very good. Is there an experienced Javascripter out there who can advise me to give up or try something else? Is my idea completely hairbrained or should I push on with it? Please help. Thanks

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > Can I trick The IE Active X handler?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway