Using CSS with Alert

I'm using CSS to stylet an Alert panel and it's producing the following Warning:
CSS type selectors are not supported in components: 'Alert' 
Despite the warning, the css is working, but I don't want to keep seeing the warning.
Here's my css:
Alert{
    backgroundColor: #000000;
    borderColor: #000000;
    buttonStyleName: buttonStyle6;
    dropShadowEnabled: true;
    fontSize: 11;
I've also tried using alert.styleName("myAlert")
where the css is placed into
.myAlert
but that produces the following error:
TypeError: Error #1006: value is not a function.
Is there a better way to style the Alert?

Somehow I posted this in the wrong forum, moving to Java Server Faces.

Similar Messages

  • Using CSS With id=form1:txtbox1

    Author: Mike12779 Sep 7, 2004 5:27 PM
    I am having a problem using CSS with the id's that JSF creates for the components on my page. After specifying an id="txtbox1", the rendering of the page changes my id to "form1:txtbox1". This is giving me problems applying styles to that element by ID. Please let me know if there is a way around this besides having unique classes for the css.

    you can use styleClass or style instead of id.
    For example,
    .text1 { font-size: 14px }
    <h:outputText styleClass="text1" />
    or
    <h:outputText style="font-size: 14px" />
    *NOTE:  the 'style' at JSF is similiar to 'style' in CSS                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Using CSS with Contribute

    I just stumbled upon a small hitch in my get-along.
    While trying to assign an alignment class in Contribute (that
    I had originally created in Dreamweaver) I discovered that I
    couldn't figure out how to accomplish this. I have already created
    a class and it's in the external style sheet, but I can't figure
    out how to associate the picture with the class so that text will
    flow around the image.
    help!
    thanks,
    Ron

    Thanks for the input.  I'm well aware of how to use CSS.  The focus of this discussion was really how to get images out of <p> tags, not how to write a bunch of extra CSS to undo what Contribute really shouldn't be doing to images.
    I am committed to use CSS on my site, but I am also committed to making that CSS easy to use, which mean working at tag and block levels as much as I can, rather than becoming "class happy".  I know I have to use classes to do the left and right alignment, but let me share a specific scenario where CSS shouldn't be used.
    I have an <h2> element that is the full width of my container.  Below that, I have a <p> element for my paragraph.  For my design, I want the paragraph to have 1em of padding.  Now, I want an image banner that is the full width of the container, so it can nest under the <h2> and be the same width.  If I insert the image in Contribute above the <p>, it puts that in a <p> tag.  Now, the image is too wide because it's trying to add padding around something that is already the full width of the page.  I can't add a rule to remove the padding from all images, because that would remove padding from images that need it also.
    I could write a custom CSS class to resolve this issue, but that takes time, adds to my CSS file size and gums up my dropdown menu with an unnecessary class that's only used to solve this one scenario.  Instead, it makes more sense to just break the image out of the paragraph tag and treat it as a block.
    This is an example of what I was trying to get Contribute to do.  I just needed the image tag as such, an image, not an image inside my paragraph padding rules.
    In this case "remove paragraph breaks" is the most logical choice, rather than writing a bunch of CSS to undo Contribute's quirks.

  • Can I use CSS with PS Web Gallery Preset?

    Using DW CS4. I wanted to create a web gallery with captions under the thumbnail images. I could not get captions to show up using the workspace output tool in Bridge, so I used the web gallery plug-in and preset in Photoshop. The doc title and description from the metadata shows up with each thumbnail and large photo, which is what I wanted. I added an Iframe to make the gallery show up in my web page layout with all the links I wanted, and I re-wrote part of the preset html to eliminate some of the extra preset gallery text at the top of the gallery pages. I am using a transitional doc type.
    It all worked out just fine and the pages are working as planned.
    However, when I used DW to validate the gallery pages, the report showed errors because the font attributes for the gallery pages are controlled by html and not by CSS. There are two problems cited in the report:
    The tag "center" is not allowed within: <p>
    In HTML 4.0, FONT is deprecated... consider using style sheets instead.
    Questions: On the gallery pages generated by the PS plug-in and pre-set, is there a way to control font attributes with a style sheet instead of using the pre-existing html styling? Do I need to be concerned about the attributes being deprecated?
    If you need to look at the web gallery, you can see it at http://www.LoonSongGardens.com/webgallery/galleryab.html
    If you look, you can see why I am daylilybud!

    I used an iframe (as opposed to a frame) as suggested in an article by David Powers about embedding a gallery into a web page. He says the iframe is acceptable in html, and no problem with the iframe itself was indicated during validation, just the FONT attributes from the PS preset I used. You can read the article here: http://foundationphp.com/tutorials/gallery/embed1.php
    In my current gallery, thumbnail captions appear from the metadata for each photograph. For each large image, both the title and the description come from the photo's metadata.  This works well for my purpose, and I want to avoid re-entering each title and description. I guess my question could be better stated by asking if CSS can be added to the preset to apply to captions coming from the metadata of each photo.
    Regarding the lightbox approach you suggest, I looked at the example and do not see captions under the thumbnails. Can captions be added to the thumbnail images? (It is essential that my thumbnails have captions.)
    Customers need to see the name of each plant when they browse thumbnails in order to select items (daylily plants) of interest.
    Because I am dealing with hundreds of photos and will need to update frequently, I am looking for a solution that is efficient and fairly easy to maintain. So far, the PS web gallery preset meets my needs better than anything else I have found, but I thought I'd try to find out if I should and can fix the FONT attribute validation problem.

  • More info needed on BC Dynamic menus and using CSS with them

    Hi all,
    The BC Gurus tutorial on Dynamic Menus and how to style them with CSS made no sense to me, unfortunately. The presentation was too rushed and the screen too small to see what was happening.
    In a previous question I found out how to apply CSS classes to BC menus after a bit of a run around.
    I was putting the # in front of the Item ID name and a . in front of the class name and this was not necessary.
    I have further questions though, as I am still struggling to get a BC Dynamic menu to style properly with the CSS I have created.
    1. If you choose CSS as the menu type, can you set the font, background colour and rollover state of the menu items in the Dynamic menu section? Or do you have to style it all in the CSS stylesheet?
    2. If you choose CSS as the menu type, the option to say how the submenu sits under the root menu disappears. So do you need to set this in the CSS stylesheet? And if so in which element? UL or LI?
    3. If you choose CSS/HTML only, how is this different to the option of CSS for the dynamic menu?
    4. If you choose CSS as the menu type and if you set a width and height in the menu item, and then set a different width and height in the CSS stylesheet, which width and height wins?
    5. If you want a dynamic menu to show on an Android phone, do you have to choose CSS/HTML only and do all the styling in the CSS stylesheet? Or should you avoid dynamic menus all together and just use a UL list in the template? (I am doing a responsive fluid grid layout in DW for the template).
    6. I am finding that the dynamic menu I have done, with CSS as the type, does not show and hide the sub menu items properly on an Android phone. Is there a problem with the javascript in Dynamic menus?
    Thanks for any help you folks can give on these questions!

    .pacnew files are only created if you have modified the default (or a change has been made to the config upstream); in both cases, you should be looking to incorporate the changes.
    It seems some new options are being shipped with lxdm: you want those in your config (turning them on or off is a matter for you and the man page to sort out)...

  • Using css with web dynpro

    Hi
    I have an application, where i have to use my own css files. regarding this i found one post (with the same heading as this post)  in the forum where the method was specified and also it was mentioned that in the visual admin, in the property sheet of the application, the property for this has to be set true.
    When we checked here, we are able to find the path and corresponding property sheet in SP9. But we are using SP14.  In this version the specified path for the application and property sheet of that application couldn't be traced.
    Is it possible that in SP14 version, the path might  be somewhere else? If so,can anybody please provide with the updated path.
    Thanks & regards,
    Puneet

    The source of Web Dynpro generated files aren't *.java files, but *.wdcontroller files
    I'm not familiar with PMD, but you might need to add the extra file extension
    (Being it Java source encapsulated in XML, you may run into a plethora of other issues, but you could give it a try)

  • Using CSS With PHP..

    Hello!
    I need to create several PHP-based pages for use with a photo gallery and would like to use my existing CSS to style the pages.  Is this possible?
    Thanks!

    You certainly can; just link to your existing stylesheet as with an html page

  • Using CSS with cftextarea

    I have read the FCKeditor documentation and the cftextarea
    documentation, but am not sure if and how I can specify that I want
    to use a css file with my cftextarea and richtext=true. I would
    rather not change the FCKeditor configuration files, as this css
    file could be different with different pages? Any help out there?
    Thanks.

    Somehow I posted this in the wrong forum, moving to Java Server Faces.

  • Using CSS with Linked Report Field

    I'm using the CSS Style width:150px on a report column that has a link. However, when using a CSS Style on linked column the formatting doesn't work. If I remove the link the width setting takes effect. How can I correct this? If I embedded the link URL in the query data it will format fine so there appears to be something different happen when Application Express generate the link.

    When a report column is rendered as a hyperlink, the CSS style you specify is not used, that is used only for regular report columns.
    Try putting your style as style="width:150px;" in the Link Attributes in the Column Link section (where you specify the other hyperlink details)

  • Using templates with css in mx

    Hi,
    I'm sure I'm being stupid but it's driving me insane - I'm
    weaning myself off table based layout and using css (for the first
    time) in mx. I'm (finally) happy with my stylesheet and how it's
    all looking but can't seem to use css with a template - when I save
    the page as a template and preview the style sheet does not seem to
    be attached.
    Any help MUCH appreciated,
    Katy

    > Good to know about mx as I was thinking about upgrading
    to 8 - does it
    > make
    > like easier with css?
    Very definitely!
    Good grief - your stylesheet is ... big. Usually so many
    custom classes
    mean that the stylesheet is WAY overengineered.....
    I'll take a look though.
    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
    ==================
    "katyoj" <[email protected]> wrote in
    message
    news:[email protected]...
    > Thanks -
    >
    > I've uploaded it here :
    >
    >
    >
    http://kateortonjohnson.bulldoghome.com/pages/kateortonjohnson_bulldoghome_com/i
    > ndex.html
    > & have attached the style sheet to the message
    >
    > Good to know about mx as I was thinking about upgrading
    to 8 - does it
    > make
    > like easier with css?
    >
    > Anyway thanks again
    >
    > Kate
    >
    > /* CSS Document */
    >
    > BODY {
    > margin:0px;
    > padding:0px;
    > font-family: arial, helvetica, sans-serif;
    > font-size: 11px;
    > color: #000;
    > background: #FFF;
    > }
    >
    > /* Link properties */
    >
    > A:link {
    > color: #333;
    > text-decoration: none;
    >
    > }
    >
    > A:visited {
    > color: #913c87;
    > text-decoration: none;
    >
    > }
    >
    > A:active {
    > color: #913c87;
    > text-decoration: none;
    >
    > }
    >
    > A:hover {
    > color: #913c87;
    > text-decoration: none;
    >
    > }
    >
    > /* Main text headings */
    >
    > h1
    > {font-family: tahoma, Arial, Helvetica, sans-serif;
    > font-size:11px;
    > color:#333;
    > text-decoration:none;
    > font-weight:bold;
    > margin:3px 5px 5px 3px;}
    >
    > h2
    > {font-family: tahoma, Arial, Helvetica,
    sans-serif;font-size:11px;
    > color:#154669;
    > text-decoration:none;
    > font-weight:bold;
    > margin:0px 5px 5px 3px;
    > padding:5px 0px 0px 5px;}
    >
    > h3
    > {font-family: tahoma, Arial, Helvetica, sans-serif;
    > font-size:11px;
    > color:#525E6A;
    > text-decoration:none;
    > font-weight:bold;
    > margin:5px 5px 5px 3px;
    > text-align:right;
    > }
    >
    > /* Footer text */
    >
    > .footertext {
    > font-family: tahoma, Arial, Helvetica, sans-serif;
    > margin:0px;padding:15px 0px 5px 0px;
    > font-size:10px;
    > color:#666;
    > }
    >
    > /* Titles */
    >
    > .t3 {
    > font-family:tahoma, Arial, Helvetica, sans-serif;
    > font-size:20px;
    > color:#154669;
    > text-decoration:none;
    > font-weight:bold;
    > }
    > .t2 {
    > font-family: tahoma, Arial, Helvetica, sans-serif;
    > font-size:14px;
    > color:#96968A;
    > text-decoration:none;
    > font-weight:bold;
    > }
    >
    > /* Main body */
    >
    > .maincontent {
    > border-top-style
    otted;
    > border-top-width:1px;
    > border-top-color:#989898;
    > margin:3px 10px 30px 0px;
    > padding:0px 10px 5px 10px;
    > font-family: arial, helvetica, sans-serif;
    > font-size: 11px;
    > color:#333;
    >
    > } .maincontent img {float:left;margin:5px 5px 5px 0px;}
    >
    > .maincontent2 {
    > border-top-style
    otted;
    > border-top-width:1px;
    > border-top-color:#989898;
    > margin:3px 220px 0px 0px;
    > padding:0px 10px 5px 10px;
    > font-family: arial, helvetica, sans-serif;
    > font-size: 11px;
    > color:#333;
    > }
    >
    > .maincontent2 img {float:right;margin:5px 0px 5px 5px;}
    >
    > .lwrap {
    > width:182px;
    > margin-top:15px;
    > margin-bottom:0px;
    > margin-right:auto;
    > margin-left:auto;
    > padding:0px;
    > }
    >
    >
    > /* Left content */
    >
    > .lcontent {
    > border-left-style:solid;
    > border-left-color:#C5C5C5;
    > border-left-width:5px;
    > width:172px;
    > margin:0px 0px 0px 0px;
    > font-family: Arial, Helvetica,
    sans-serif;font-size:11px;
    > color:#666666;
    > text-decoration:none;
    > text-align:left;
    > font-weight:normal;
    > padding:5px 3px 10px 5px;
    > background-color: #EEE;
    > }
    >
    > .leftshadow {
    > width:182px;
    > height:6px;
    > padding:0px;
    > margin-top:0px;
    >
    > }
    > .leftshadow img {padding:0px;margin:0px;float:right;}
    >
    > .separator {
    > border-top-width:1px;
    > border-top-style
    otted;
    > border-top-color:#989898;
    > margin-right:5px;
    > margin-left:5px;
    > margin-top:10px;
    > }
    >
    > /* News boxes */
    >
    > .newsheader{
    > background-image:url(images/left_subh.gif);
    > background-position:top;
    > background-repeat:no-repeat;
    > width:182px;
    > margin-left:auto; margin-right:auto;
    margin-top:15px;margin-bottom:0px;
    > height:17px;
    > text-align:right;
    > padding:1px 5px 0px 0px;
    > font-family: tahoma, Arial, Helvetica,
    sans-serif;font-size:10px;
    > color:#333;
    > font-weight:bold;
    > }
    > .newscell{
    > background-color:#EEE;
    > width:182px;
    > margin-left:auto; margin-right:auto;
    margin-top:-1px;margin-bottom:0px;
    > min-height:30px;
    > font-family: Arial, Helvetica, sans-serif;
    > font-size:11px;
    > color:#666;
    >
    > }
    >
    > .newscell p {padding:5px 5px 15px 10px;margin-top:0px;}
    >
    > /* Right content */
    >
    > .rcontent {
    > background-color:#EEE;
    > width:168px;
    > margin-left:auto;
    > margin-right:auto;
    > border-left-style:solid;
    > border-left-width:5px;
    > border-left-color:#C5C5C5;
    > min-height:30px;
    > margin-top:18px; margin-bottom:0px;
    > font-family: tahoma, Arial, Helvetica, sans-serif;
    > font-size:10px;
    > color:#666;
    > padding:5px 3px 10px 5px;
    > text-align: left;
    > }
    >
    > .rightshadow {
    > text-align:right;
    > width:168px;
    > height:7px;
    > padding:0px;
    > margin-top:0px;
    > margin-bottom:15px;
    > float:right;
    > }
    > .rightshadow img {padding:0px;margin:0px;float:right;}
    >
    > /* Bullet list */
    >
    > ul {
    > list-style-image:url(images/bullet.gif);
    > list-style-type:none;
    > }
    >
    > p img {margin-left:5px;}
    >
    >
    > #wrap{
    > margin:0px;
    > padding:0px;
    > width:100%;
    > }
    >
    > /* Header section */
    >
    > #header{
    >
    > background:#EEE;
    > margin:0px 0px 0px 0px;
    > font-size: 11px;
    > font-family : Verdana, Arial, Helvetica, sans-serif;
    > color : #000000;
    > border-bottom: solid #C5C5C5;
    > }
    >
    > /* Top navigation */
    >
    > #topnav ul
    > {
    > padding-left: 0;
    > margin-left: 5px;
    > margin:0px 0px 0px 0px;
    > background-color: #913c87;
    > color: White;
    > float: left;
    > width: 100%;
    > font-family: arial, helvetica, sans-serif;
    > font-size: 11px;
    > font-weight: bold;
    > height: 18px;
    > }
    >
    > #topnav ul li { display: inline; }
    >
    > #topnav ul li a
    > {
    > padding: 0.2em 1em;
    > background-color: #913c87;
    > color: White;
    > text-decoration: none;
    > float: left;
    > border-right: 1px solid #EEE;
    > }
    >
    > #topnav ul li a:hover
    > {
    > background-color: #C5C5C5;
    > color: #fff;
    > }
    >
    >
    > /* Left positioning */
    >
    > #left {
    > width:191px;
    > margin:0px 0px 10px 0px;
    > padding:0px 0px 20px 0px;
    > background-color:#EBE8DE;
    > border-right-width:3px;
    > border-bottom-width:3px;
    > border-left-width:5px;
    > border-top-width:0px;
    > border-style:solid;
    > border-right-color:#EFEEEE;
    > border-bottom-color:#EFEEEE;
    > border-left-color:#fff;
    > float:left;
    > min-height:15px;}
    >
    > /* Right positioning */
    >
    > #right {
    > margin-left:196px;
    > background-color:#fff;
    > min-height:30px;
    > text-align:left;
    > padding:10px 10px 15px 15px;
    > min-width:560px;
    >
    > }
    >
    > /* Footer positioning */
    >
    > #footer {
    > background-image:url(images/footer2.gif);
    > height:55px;
    > margin:0px 0px 0px 0px;padding:0px;
    > width:100%;
    > min-width:760px;
    > overflow:hidden;
    > clear:both;
    > }
    >
    > #footer img {padding:0px;margin:0px;float:left;}
    >
    > #footer a {
    > text-decoration:none;}
    >
    > /* Right positioning */
    >
    > #rightcol {
    > width:180px;
    > float:right;
    > min-height:30px;
    > background-color:#fff;
    > margin:0px 0px 0px 20px;
    > padding:0px;
    > text-align:center;
    > }
    > /** BOX3 */
    >
    > #box3 {
    > clear: both;
    > margin-top: 20px;
    > padding: 10px 0px;
    > }
    >
    > #box3A {
    > float: left;
    > width: 200px;
    > padding: 0px 13px 0px 43px;
    > background: url(/csstemplatetts/images/homepage20.gif)
    repeat-y right
    > top;
    > }
    >
    > #box3B {
    > float: left;
    > width: 200px;
    > padding: 0px 50px 0px 11px;
    > }
    >
    > #stretch {width:760px;height:1px;clear:both;margin:0px
    0px 10px
    > 0px;padding:0px;}
    >

  • Using CSS for Struts JSP presentation using tiles

    hi all,
    i want to use CSS instead of table TRs ,TDs,TABLE in my jsps.
    can anyone help me how can i achieve that?
    i want to use css with struts presentation using tiles
    i couldn't find much information about using CSS for jsps on the web can anyone guide me with proper information in this regard?
    regards and thanks in advance

    Actually, I just realized it's the exact same syntax as regular html (which I was thinking, but for some reason it didn't work the night I posted):
    <head>
      <link rel="stylesheet" href="yourstylesheet.css"/>
    </head>I'm not sure why it didn't work for me the first time.
    theAmerican

  • Photoshop sliced layout output are table base,  do it can control the position by CSS with div?

    Dear all,
    I have make some image in Photoshop, and sliced it to html
    page, but open it in dreamweaver it show me the table layout that
    Photoshop Sliced maked ..
    I am wonder, now many web site are integration with CSS, and
    I had saw some total using CSS with div maked Web Site, how to
    control the sliced image after that Photoshop sliced it?
    Any simple example for newbie reference?
    And sorry of my poor English.

    It seems you have exported the html from photoshop into
    Dreamweaver.
    This is not the best way to build a page. You should slice up
    your images
    and then export the images only into a folder. You then build
    the page
    using these exported images in your table or css layout. You
    can place the
    images directly into table cells or divs or use them as
    background images
    via css.
    Good CSS tutorials can be found here:
    http://www.adobe.com/devnet/dreamweaver/css.html
    Nadia
    Adobe� Community Expert : Dreamweaver
    http://www.DreamweaverResources.com
    - CSS Templates|Tutorials
    http://www.csstemplates.com.au
    http://www.adobe.com/devnet/dreamweaver/css.html
    CSS Tutorials for Dreamweaver
    > Dear all,
    >
    > I have make some image in Photoshop, and sliced it to
    html page, but open
    > it
    > in dreamweaver it show me the table layout that
    Photoshop Sliced maked ..
    >
    > I am wonder, now many web site are integration with CSS,
    and I had saw
    > some
    > total using CSS with div maked Web Site, how to control
    the sliced image
    > after
    > that Photoshop sliced it?
    >
    > Any simple example for newbie reference?
    >
    > And sorry of my poor English.
    >

  • Placing rollover nav buttons using CSS

    Hi. I'm creating my first website using DW CS3 and I'm having
    problems working out how to include all of the graphics as part of
    the CSS so that I can use different CSSs for different devices.
    I have a set of images I'm using for the navigation buttons
    and I want to add them to table cells using CSS with tags for
    placement but how do I then get the rollover effect without ading
    anything to the actual html code?
    any help gratefully appreciated.
    Thanks.

    If you need to do this then here is an example:
    www.taste-in.com
    The buttons are show/hide with css.
    .rollover {display: block;height: 100%;}
    .rollover img {width: 100%;height: 100%;border: 0;}
    .rollover:hover { visibility: visible; }
    .rollover:hover img { visibility: hidden; }
    #home, #contact, #taste, #about, #tasting, #terms{height:
    92px;}#home {width: 139px;background:
    url(../images/nav/hover/home.jpg);}
    #taste {background: url(../images/nav/hover/taste.jpg);width:
    129px;}
    #about {background: url(../images/nav/hover/about.jpg);width:
    128px;}
    #tasting {background:
    url(../images/nav/hover/tasting.jpg);width: 126px;}
    #terms {background: url(../images/nav/hover/terms.jpg);width:
    128px;}
    #contact {background:
    url(../images/nav/hover/contact.jpg);width: 140px;}--
    CheersPablowww.dellwebsites.com
    "wefollow" <[email protected]> wrote in
    message
    news:e2kequ$nie$[email protected]..
    > If i can...how can I.....
    > I want to import Rollover Buttons from Fireworks to
    Dreamweaver( Css Page)
    > I just start using CSS code.....
    > thank you for reading this message

  • Using CSS to customize POJO

    It is rather simple to customize any Node using CSS. But how can one use CSS with POJOs (explicity: non-Nodes)? I implemented Styleable on a POJO, but certainly this is only one side of the medal. The second side is: How to tell the JavaFX runtime that a POJO (explicitly an instance that is not part of the GUI) is to be customized by CSS? My aim is to use CSS to customize properties of the  model, which obviously can change while no scene is visible. I noticed that Style Manager seems to do that, but that class is not part of the public API, unfortunately.

    Thank you for the reply, but I'm not really looking to go from Photoshop >to> Web/HTML/CSS) in this instance.  I'm looking to have an external CSS effect >>> PSDs.  It's a mobile app so I will end up manually organizing and optimizing all of my assets to be passed to a dev who, depending on what platform they are on, will most likely program it in C++ or Java. 
    Specifically, I am looking for a way to use Cascading Style Sheets >to effect> Photoshop elements, similar to how InDesign does : http://desktoppub.about.com/od/indesign/ss/id_css.htm.  It's more about saving time when a client request an edit.  Like changing a single color that will affect 5 elements in 100 different PSDs equalling 500 changes.  If that color is defined in one place similar to CSS I only need to change it once. 
    Is there a feature (Besides Placed Linked) in PhotoShop that allows for this?
    Thanks.

  • Using CSS and Javascript to display a div with flash in it, mozilla reloads the flash file!

    I am using CSS and Javascript to display a div with an
    embedded flash object in it. Mozilla Firefox reloads the flash file
    when the div is displayed! (I dont want this to happen, as it's
    unexpected functionality, my expectation would be that the flash
    file would not change it's state at all, and would remain in
    whatever state it was left in.)
    I was wondering if anyone has come across this issue and is
    there something I can do to prevent this from occurring?
    To be more specific, I have a single HTML page with 8 flash
    files embedded in it (yeah I know, it's a bit much). I am then
    using CSS and Javascript to display (via a numbered link (with an
    id)) an equivalent numbered div tag containing the flash file.
    Mozilla Firefox reloads the flash object that is in the div.
    Internet Explorer will not do this and will instead, load the flash
    object only upon initial view of the flash object. All subsequent
    links (in IE) will NOT reload the flash object on the page. I'm
    guessing this is some kind of difference in the flash player as an
    Active X object and the plugin, or is it just IE being clever? Or
    am I way off?
    Anyway, here is the code...

    I am using CSS and Javascript to display a div with an
    embedded flash object in it. Mozilla Firefox reloads the flash file
    when the div is displayed! (I dont want this to happen, as it's
    unexpected functionality, my expectation would be that the flash
    file would not change it's state at all, and would remain in
    whatever state it was left in.)
    I was wondering if anyone has come across this issue and is
    there something I can do to prevent this from occurring?
    To be more specific, I have a single HTML page with 8 flash
    files embedded in it (yeah I know, it's a bit much). I am then
    using CSS and Javascript to display (via a numbered link (with an
    id)) an equivalent numbered div tag containing the flash file.
    Mozilla Firefox reloads the flash object that is in the div.
    Internet Explorer will not do this and will instead, load the flash
    object only upon initial view of the flash object. All subsequent
    links (in IE) will NOT reload the flash object on the page. I'm
    guessing this is some kind of difference in the flash player as an
    Active X object and the plugin, or is it just IE being clever? Or
    am I way off?
    Anyway, here is the code...

Maybe you are looking for