Urgent! Can div's ids cause trouble

Can div's ids cause trouble with a javascript loaded flash?
I'm using the swfobject javascript to load a flash animation
(this code helps the submenu layers appear on top of the flash
animation and makes that weird gray line in IE go away).
I have many divs without id, the animation should load into a
div called "mainflash". When I have all those div inside the same
table as the "mainflash" div, the flash animation does not load.
After many tests I found out that only with all those other
divs in the different tds of the table the animation fails to show,
which leads me to thinking the .js code might get confused with all
those unidentified divs.
Is that possible? This only happens in firefox 2 when using a
mac.
Here's the page without the divs:
http://www.l3hm.com/anim_test9x.php
Here's the page with all those divs:
http://www.l3hm.com/anim_test4.php
I used php includes, but I also tried having all the content
in the page without the includes and in html and still it didn't
work.
Please help me out my client is becoming impatient.

serg2049 wrote:
> Can div's ids cause trouble with a javascript loaded
flash?
>
> I'm using the swfobject javascript to load a flash
animation (this code helps
> the submenu layers appear on top of the flash animation
and makes that weird
> gray line in IE go away).
>
> I have many divs without id, the animation should load
into a div called
> "mainflash". When I have all those div inside the same
table as the "mainflash"
> div, the flash animation does not load.
>
> After many tests I found out that only with all those
other divs in the
> different tds of the table the animation fails to show,
which leads me to
> thinking the .js code might get confused with all those
unidentified divs.
>
> Is that possible? This only happens in firefox 2 when
using a mac.
>
> Here's the page without the divs:
http://www.l3hm.com/anim_test9x.php
>
> Here's the page with all those divs:
http://www.l3hm.com/anim_test4.php
>
> I used php includes, but I also tried having all the
content in the page
> without the includes and in html and still it didn't
work.
>
> Please help me out my client is becoming impatient.
>
You could try this - in your test.php file - find this line
of code.........
<div id="mainflash" style="border: 1px solid rgb(99, 101,
105); padding:
3px; width: 466px; height: 357px; position: absolute;
margin-top:
49px;"><embed type="application/x-shockwave-flash"
src="l3anim.swf"
style="" id="main" name="main" bgcolor="#FFFFFF"
quality="high"
wmode="opaque" height="357" width="466">
</div>
and replace with.........
<div id="mainflash" style="border: 1px solid rgb(99, 101,
105); padding:
3px; width: 466px; height: 357px; margin-top:
49px;"><embed
type="application/x-shockwave-flash" src="l3anim.swf"
style="" id="main"
name="main" bgcolor="#FFFFFF" quality="high" wmode="opaque"
height="357"
width="466">
</div>
chin chin
Sinclair

Similar Messages

  • Which Ipod Updater was causing trouble with ipods??

    I read a while back that there was an ipod updater that was actually making the ipod not work can anyone tell me which updater this was?

    I updated my ipod video w/ that ipod updater that causes trouble is there a way for me to switch back to the previous update because now the ipod plays the first 2 sec. of a song and then shuffles through the rest of the songs not allowing me listen to my downloaded music. Please help w/ my concern or let me know if there is a newer updater that will work for me.

  • Warnings in FileReference - can not find the cause

    I'm trying to make a loader of a few photos (use FileReference). I get the warnings, but I do not know the reason for their appearance.
    warning: unable to bind to property 'fr' on class 'Object' (class is not an IEventDispatcher)
    warning: unable to bind to property 'name' on class 'flash.net::FileReference'
    warning: unable to bind to property 'data' on class 'flash.net::FileReference'
    warning: unable to bind to property 'fr' on class 'Object' (class is not an IEventDispatcher)
    warning: unable to bind to property 'name' on class 'flash.net::FileReference'
    warning: unable to bind to property 'data' on class 'flash.net::FileReference'
    CODE:
    import mx.events.CollectionEvent;
    import flash.net.FileReferenceList;
    import mx.collections.ArrayCollection;
    [Bindable]
    private var photos:ArrayCollection = new ArrayCollection;
    private var frList:FileReferenceList = new FileReferenceList;
    private function init():void
    photos.addEventListener(CollectionEvent.COLLECTION_CHANGE,function():void
    startUploadButton.enabled = (photos.length>0);
    clearPhotosButton.enabled = (photos.length>0);
    frList.addEventListener(Event.SELECT,addPhotos);
    private function selectPhotos():void
    var fileFilter:FileFilter = new FileFilter("Images jpeg","*.jpg;*.jpeg");
    frList.browse([fileFilter]);
    private function addPhotos(e:Event):void
    for (var i:uint = 0; i < frList.fileList.length; i++)
    var elem:Object = new Object;
    elem.fr = FileReference(frList.fileList[i]);
    elem.fr.load();
    elem.fr.addEventListener(Event.COMPLETE,refreshThumb);
    photos.addItem(elem);
    private function refreshThumb(e:Event):void
    photosList.invalidateList();
    public function clearPhoto(data:Object):void
    photos.removeItemAt(photos.getItemIndex(data));
    photosList.invalidateList();
    private function startUpload():void
    photosProgressContainer.visible = true;
    var request:URLRequest = new URLRequest();
    request.url = "http://localhost/tempLoader-debug/upload.php";
    var fr:FileReference = photos.getItemAt(0).fr;
    fr.cancel();
    fr.addEventListener(ProgressEvent.PROGRESS,uploadProgress);
    fr.addEventListener(DataEvent.UPLOAD_COMPLETE_DATA,uploadComplete);
    fr.upload(request);
    private function uploadProgress(e:ProgressEvent):void
    photosProgress.setProgress(e.bytesLoaded,e.bytesTotal);
    private function uploadComplete(e:DataEvent):void
    photos.removeItemAt(0);
    photosList.invalidateList();
    if (photos.length > 0)
    startUpload();
    else
    photosProgressContainer.visible = false;

    In my opinion this is the line that is causing you the warning:
    <mx:Image source="{data.fr.data}" maxWidth="100" maxHeight="75"
    horizontalAlign="center" verticalAlign="middle" />
    That means that data should be a custom binable object and fr should be another
    custom bindable object.
    like
    public class BindableData
        public var fr:BindableData2;
    public class BindableData2
        public var data:String;
    I am not sure though what you are trying to do though, but I assume you try top
    load an image from your disk. This link will help you:
    view source enabled...
    http://www.everythingflex.com/flex3/flexcampItaly/
    the blog post ...
    http://blog.everythingflex.com/2009/09/08/flexcamp-presentation-filereference-load-part-1- of-3/
    C
    From: Astraport2012 <[email protected]>
    To: Ursica Claudiu <[email protected]>
    Sent: Sun, October 3, 2010 3:07:57 PM
    Subject: Re: Warnings in FileReference - can not find the cause
    I found the solution to the first part of the warning. Only need to modify the
    object as ObjectProxy
    public var elem:ObjectProxy = new ObjectProxy;
    But with the second part is still a problem (warning: unable to bind to property
    'name' on class 'flash.net::FileReference'
    warning: unable to bind to property 'data' on class 'flash.net::FileReference').
    I do not fully describe the problem in the first message. The main application
    calls the component and passes it parameters. They cause errors.
    It is this component photoThumb.mxml:
    <?xml version="1.0" encoding="utf-8"?>
       width="120" height="110"
       backgroundColor="#FFFFFF" backgroundAlpha="0"
       rollOver="{controls.visible=true;}" rollOut="{controls.visible=false;}">
    <mx:Image source="@Embed('t1.png')" width="100%" height="100%" alpha="0"
    horizontalAlign="center" verticalAlign="middle"/>
    <mx:VBox width="100%" height="90" y="5" horizontalAlign="center" >
    <mx:Image source="{data.fr.data}" maxWidth="100" maxHeight="75"
    horizontalAlign="center" verticalAlign="middle" />
    </mx:VBox>
    <mx:Label text="{data.fr.name}" width="118" truncateToFit="false" bottom="0"
    textAlign="center" />
    <mx:VBox id="controls" visible="false" y="65" right="10" horizontalAlign="right"
    >
    <mx:Button label="X" click="parentDocument.clearPhoto(data)" fontSize="6"
    width="30" height="15" />
    </mx:VBox>
    </mx:Canvas

  • I have Elements 11. Sometimes, if I edit a photo in Elements Editor, the date gets changed to the current date. Why does that happen? It doesn't happen all the time, so I can't isolate the cause. Any ideas?

    I have Elements 11. Sometimes, if I edit a photo in Elements Editor, the date gets changed to the current date. Why does that happen? It doesn't happen all the time, so I can't isolate the cause. Any ideas?

    I have Elements 11. Sometimes, if I edit a photo in Elements Editor, the date gets changed to the current date. Why does that happen? It doesn't happen all the time, so I can't isolate the cause. Any ideas?

  • Can separate apple ids be set up for individual family members that use different devices?  Several iPads are tied to one Apple ID (email address). Thank you.

    Can separate apple ids be set up for individual family members that use different devices (iPads & iPhones)?  Several family members are tied to one apple id (email address).  Thanks.

    How to use multiple iPods, iPads, or iPhones with one computer
    http://support.apple.com/kb/HT1495
    How to Share a Family iPad
    http://www.macworld.com/article/1163347/how_to_share_a_family_ipad.html
    Using iPhone, iPad, or iPod with multiple computers
    http://support.apple.com/kb/ht1202
    iOS & iCloud Tips: Sharing an Apple ID With Your Family
    http://www.macstories.net/stories/ios-5-icloud-tips-sharing-an-apple-id-with-you r-family/
    How To Best Use and Share Apple IDs across iPhones, iPads and iPods
    http://www.nerdsonsite.com/blog/2012/06/07/help-im-appleid-confused/
     Cheers, Tom

  • Can two Apple IDs be linked so that they can share data? My iMac and iPad have the same Apple ID and sync contacts, bookmarks, etc. My wife's iPad has a different Apple ID. Can it be linked somehow to mine to share contacts etc?

    Can two Apple IDs be linked so that they can share data? My iMac and iPad have the same Apple ID and sync contacts, bookmarks, etc. My wife's iPad has a different Apple ID. Can it be linked somehow to mine to share contacts etc?

    No. You cannot link your contacts to hers. However, you can use Home Sharing to share the information:
    Understanding Home Sharing
    iOS- Setting up Home Sharing on your iOS device
    Setting up Home Sharing for Apple TV (2nd & 3rd generation)
    iTunes- Setting up Home Sharing on your computer

  • I can't get my music to play in my itunes. It comes with a exclamation mark next to the song numbers and says that the original songs can't be played cause cant find the file. How do I get the songs back? (I found the files)

    I can't get my music to play in my itunes. It comes with a exclamation mark next to the song numbers and says that the original songs can't be played cause cant find the file. How do I get the songs back? (I found the files

    You get exclamation marks or dead tracks because  iTunes can’t find the file. This can happen for a number of reasons:
    The song file or a folder in its path was renamed
    The song file or the folder it is in has been moved
    The song file has been deleted
    The device containing the song files e.g. external drive is not accessible or the drive letter has changed.
    If you use an external drive, a change in drive letter is a common cause and you need to change it back.
    AS a way of working out what has happened, right click on a track and select the summary tab (you will have to go past an error message). The summary tab will tell you where iTunes thinks the track is located. How does that compare with where the track actually is?
    The xml library file is not used by iTunes, it is created to allow other programs to access the library. You can recreate the iTl file from the xml file, but there is no point if the location of the files is wrong.
    There is a simple way of getting you music back in iTunes, but it loses all playlists counts and rating. To do this drag iTunes library.itl and iTunes Library.xml to your desktop. Then open iTunes and an empty library is created. Add you iTunes Media folder to it.
    If you can't work out what went wrong and how to fix it, you may have to do this.

  • Drag and drop not working.  When trying to move a cell or icon the shadow of the cell or icon being moved appears under the cursor but can't be released causing a freeze of function within the program.  Happens in finder numbers and firefox

    Drag and drop not working.  When trying to move a cell or icon the shadow of the cell or icon being moved appears under the cursor but can't be released causing a freeze of function within the program.  Happens in finder numbers, firefox, and when trying to move any file from the downloads folder.
    This is a serious pain.
    Please help.
    WB

    Yes, all I can tell you is that Finder does not have that function in ML. Your system is "working as expected".
    You can file feedback here.

  • HT204204 My phone crashed after updating it to IOS 8. I can't use it cause its stucked on the start up menu, the apple logo with black background.

    Hi to all,
    I hope someone can help me. My phone crashed after updating it to IOS 8.3. I can't use it cause its stucked on the start up menu, the apple logo with black background. Even when I restart my phone, it is still stuck on the start up menu, the black background with apple logo in the middle.

    Slone,
    I finally decided to turn this annoyance into an opportunity.  After a lot of experimenting I found that my iPad was just fine under 7.1 if I simply restored it as new.  I have a lot of time on my hands and I had 1424 apps on my iPad!  This is why every attempt to restore took so long.
    I decided to restore as new, spend a day restoring the apps I really used.  Doing so gave me a quick iPad with only bout a quarter of the storage used.
    Granted it was a pain in the arse, but I wrote it off as in the old days when you had to do this with windows 95 just to keep a stable system.
    I DO have some data in a few files of the now unused backup but a quick google search finds a couple Mac programs out there that will allow you go extract audio recordings, app data files etc. from the backup.  I'll do that someday if I even miss the files I've probably forgotten that are there.
    Anyway, there was nothing wrong with my hardware.  I think there were just some troublesome setup items that 7.1 didn't like.  Once set up as new, the ipad was fine.
    Good luck!

  • Can a "shutdown abort" cause a fractured block?

    Hey there, simple question: Can a "shutdown abort" cause a fractured block?
    I'm currently doing some postmortem work on an old DB (EBS R12 OBA) installation and what might lead to a fractured block. It appears that once a fractured block is detected, Oracle Support automatically shuffles the issue off as a "serious issue within the OS/HW layer". I suppose as a DBA this means they can wash their hands of the issue and pass it on to someone else.
    So far it appears that an OS level app could compromise the write of logical blocks to OS blocks. It also appears that logical volume configuration (pertaining to an older AIX install) could lead to fractured blocks. Yet another article indicates that an HBA I/O error could lead to this issue. And of course file-system corruption.
    But...going back to the original question, can a shutdown abort on a database introduce a fractured block?

    It cannot. A shutdown abort or any abnormal termination means that active transactions are terminated without COMMIT or ROLLBACK. When you start the database after a SHUTDOWN ABORT or any other abnormal termination, Oracle says the active transactions failed and rolls them back. You will be left with the database in a consistent state as if those active transactions never occurred. I suppose you could say that until recovery is complete the block could be in a fractured state meaning that the contents could be inconsistent. But once the database is opened, the block is consistent and not fractured.
    HTH,
    Brian

  • Appmenu-qt causeing trouble since KDE 4.9.5

    Hey guys,
    I just updated to KDE 4.9.5 just to discover that having appmenu-qt installed (I don't use it) makes menu bars go to nirvana. I simply uninstalled the package and the menu bars appeared again. Someone else experiencing the same issue?
    The problem is, at the moment I don't need/want appmenu, but it will definetly become interesting in KDE 4.10 when KWin's decorations will finally be able to use it, it would be nice to not cause trouble when not even used.

    It makes menu bars go to nirvana. Thanks I love my menu bars .

  • Itunes error can't purchase anymore cause of Itunes purchasing bug. help

    Hey guys
    I have an Iphone 3G and I had (Currency app) installed version 1.0 and updated to 1.2 and it said "you must pay to upgrade to this pay accept. so I did but it was a free app and now my itunes is locked and I can't buy anymore cause it has a $0.00 charge it CAN'T charge $0 to my card so its stuck.
    I don't think I can fix this it needs to be reset inside by apples tech support. Any idea how I can get hold of them. do they have a email address for errors?
    Thanks for the help
    Sam

    If you ever get a receipt from them, they give you links in the email receipt to report problems. I also believe in iTunes under the help menu (or Store...forget what menus they have as I am at work) there is a menu item to report a problem.

  • Can't activate cs5 cause, keeps telling me unable to connect to internet, although am connected

    can't activate cs5 cause, keeps telling me unable to connect to internet, although am connected, any help please ?

    it's a downloaded file. When i failed to activate it, i tried it trial bs it's expired and i wanna activate it . The serial number is right but it keeps telling me unable to connect to internet :s :s

  • Where can i get setup cause i formated my mac mini and now i am not able to download cause i did not have any backup

    where can i get setup cause i formated my mac mini and now i am not able to download cause i did not have any backup

    How did you format your Mac Mini? Did you restart into Recovery Mode (Command+R) and erased your Macintosh HD? Or did you use some external drive or DVD to erase it?

  • Hi. My phone screen broke and I had it replaced from a phone shop. The guy said that while changing the screen and phone was blocked. It is now disabled for like 23,000,000 minutes and I can't restore it cause I dont have all the data sync to my computer.

    Hi. My phone screen broke and I had it replaced from a phone shop. The guy said that while changing the screen and phone was blocked. It is now disabled for like 23,000,000 minutes and I can't restore it cause I dont have all the data sync to my computer. Is there anything I can do or can Apple do something if  I give them the  correct password?

    As you had the iPhone opened by an unauthorised repairer ( Apple do not replace screens on iPhone 4)
    Apple will not provide any service or support
    Take it back to the "phoneShop" and tell them to fix it
    You have no other alternatives
    or try this
    http://support.apple.com/kb/HT1212

Maybe you are looking for

  • How to use more than one ipod from one computer

    I've got my 30gb ipod set up and working fine from my pc. I've got my wife an ipod nano and want to set her's up totally separately. How can I do this?

  • Creating a Dynamic Node for a Dynamic Graphic - Tutorial

    Hi everyone, I'm sharing my first tutorial, hope it'll be helpful for you. In the Layout tab, it's possible to create an UI element "Business Graphic". It's a very simple tool that only requires a context node with a category attribute (that means, t

  • How can I open 8BF files in CS6?

    I was trying to open a Flaming Pear plug-in and had many problems and can't open that type file. I have many plug-ins, such as OnOne and Topaz with no problems.

  • Stack 12

    Hi, I'm looking for a list of bugs/features that have been corrected/added in NW04 Stack 12. Can someone point me in the right direction? Thanks, Kris

  • Problems going from LR 2.1 to Photoshop CS3

    Hi. After coming home after a shooting session yesterday, I did some pre-editing in LR 2.1 (in which I'm not even an amateur yet) as usual. Then I wanted to proceed to editing i CS3 (Ctrl/E in Windows). I only do RAW shooting. But then, instead of op