Joy of rendering CSS IE6 (or lack thereof)

Hello
Having been without painful IE6 browser for the month of last18 or so, I was appalled to hear of a user of IE6 (still 25% of our user base) the layout for the career site of the left and Center div elements were not lined up horizontally. It works fine in IE7, FF2, Safari 3, Opera etc.

I'm sure this is a simple hack or obvious omission of CSS on my part - without visibility to IE6, it is very difficult to solve the problems that I did wrong

Thank you

RB

All fixed. Thank you a lot with your CSS. No idea where I was wrong. The original was:

{.twoColHybLtHdr #mainContent
Width: 700px;
margin-top: 10px;
right margin: 20px;
margin-bottom: 15px;
margin left: 200px;
font size: 1.15em;
line-height: normal;
padding: 0px;
}

and your version

{.twoColHybLtHdr #mainContent
padding: 0px;
Width: 700px;
font size: 1.15em;
line-height: normal;
float: left;
margin: 10px 20px 15px 10px;
}

Obviously, margin/padding has something to do with it.

Tags: Dreamweaver

Similar Questions

  • How to report bugs of rendering CSS browser WebView/BB?

    I have an app that bypasses the normally difficult radio button style html5 by cutting the real radio inside a rectangle 0,0,0,0, then using the CSS: before Pseudo selector to create a substitute radio button image using nothing more than CSS attributes. It works perfectly on every single desktop browser, I tested against (Chrome, Firefox, IE, Opera), each Android browser, I've tried (Chrome, Firefox, Opera) and the same Android browsers running on my Z10 via Cobalt (Chrome, Firefox, Opera), but on the browser BB10 and WebView (so-called WebKit based as Chrome and Opera) does not support the CSS style the : Pseudo-selector update to show that when the Group of option buttons has focus.

    This is an example of what a couple of radio buttons by using this technique looks like when they have not developed in the...

    When option buttons have the focus, it should look like this...

    But as I said, on the browser BB10 or WebView even with the development of radio buttons always look like the first example. On all other browsers (except iOS/Safari, which proves defective as browsers BB10) favouring option buttons look like the second example.

    Anyone where I can tell you something like that?

    In the immortal words of Emily Littela... never mind. Since the BB10 and WebView browser seem to ignore the: pseudo-selector developed, I thought that it was a CSS rendering problem, but it is not. The idea that led me to a solution, is that the same problem occurs on iOS Safari too. A little Google search on the oddities of Safari has revealed the real cause.

    It turns out that even if Safari, as the browser BB10 and WebView, are Webkit based, he manipulates not the focus of the element like all the other funds or Android mobile WebKit browsers. Based on certain types of HTML elements is not automatically set focus to this element. One of the element types that it affects is the radio input element that I use. Some devs online are speculating that avoids unnecessary popups of the keyboard to the iOS screen by typing some controls on a form, but does not say Apple.

    The solution is quite simple, just set the focus in the OnClick of the radio input element explicitly. In this way, by tapping the control will force the browser to focus control and if necessary: focus CSS will be applied...

    myRadioButton.focus();
    

    I use jQuery so my generic code to manage all the radio buttons to a page looks like this...

    $('input[type="radio"').click( function() {
        $(this).focus();
    });
    

    It is clear that BlackBerry browser and WebView work in the same way as iOS Safari because this code sets things there also. I don't know if someone else is bickering with this problem when you target the WebView or BB10 browser, but I thought I would post the solution, just in case.

  • CSS / IE6 display problem

    Hi guys, I am designing a sup with css nav, it looks fine in IE7 / Firefox / Safari but spaces incorrectly in IE6!

    Grrr go IE!

    Can someone help me with this one?

    I have attached the code...

    andipee wrote:
    > Hi John
    >
    > Thanks for the reply...
    >
    > http://www.partf.co.uk/testing/navtest.htm
    >
    > cordially
    > andy

    Try a CC just between the opening and closingtags of
    your document as follows...

    HTH

    --
    Chin chin
    Sinclair

  • CSS's sudden lack of project manager (RH10)

    Suddenly, my main css (named "Sol8.css) is not appear in the project... Manager it shows everywhere else, but it... See picture attached. I have no idea why this is suddenly the case.  I would like to be able to access them for editing in the HTML editor in RoboHelp 10... That's happened?

    Help! and thank you...

    missingcss1.png

    In fact, you might find that the removal of PCD is originally the css file to disappear. (I've seen it affect some (but not all) of the images as well and has been a major cause of my last job passed to Madcap Flare.)

    Try this:

    (NOTE: If this is a very large project, you may go out for coffee or lunch.) Basically, this will refresh the HR list database file (my interpretation), which can take a long time for large projects. We had one that took an hour).

    1. Create a new folder. It can be anywhere and whatever it is called, and you can remove it in an instant.
    2. Check if your css file appears in the project again Manager.
    3. Delete the new folder that you just created.

    If it works, you will need to create and delete a file when you want to change the style sheet, after deleting the cpd (or just use windows Explorer and an external editor).

    Please also report as a bug to Adobe. I did a few times, but most of the people look at me like I'm crazy. Which reminds me, I should report it to new and link to this topic.

    If this does not work, sorry, I'm ideas.

    (Edit: Bug submitted with link to this thread and also https://forums.adobe.com/message/3478909)

  • Typing shortcuts (or lack thereof)

    It seems to be a bit painful when editing text to position the cursor correctly.  As far as I know... you press the button and try to move the cursor with your finger.  Well... my fingers aren't just fat... but trying to place a course in an exact position (i.e., beginning of line, middle of a Word) is a bit slow and frustrating.

    Advice on how to best position a cursor.

    -bob

    Now the orange button, drag your finger on the screen in all directions as you would on a computer laptop trackpad; the cursor moves in the direction that you slide your finger.  When you hold the orange button that you need NOT try to exploit the exact spot.

  • Ads and several languages or lack thereof.

    Hello

    Would it not make sense to have the option to atleast classify a piece of information or have multiple "sets" of news so we could soft a news stream for each country of the site?

    Hello Sidney,

    Thanks for the reply.

    Yes, we saw that it was the only way, but it is limited.

    We decided that it was better to build new by using web applications.

    Forget this question as a feature request to improve the news module.

  • PHP and Dreamweaver templates not rendered CSS correctly in Internet Explorer

    I created a site that I have Contriubted will inform users of content boxes.  I created php files with includes.  She designs correctly in all browsers, when I do create a temple.  Once I have a template with editable regions, the divs are not placed at the locations in IE.  All GECKO-based browsers seem to work.

    If I take all the PHP, switch the html page, insert editable regions, it works in all browsers. See http://www.stonebridgebeef.com/index1.php and http://www.stonebridgebeef.cm/index1.html.

    If things have not changed, the content is on the php div is displayed correctly in most other than IE and e Nav in I.E

    Someone sees what I'm doing wrong, or is this a bug.  My users are trained in Contribute, and I am reluctant to change methods, but if I have to.  Any suggestions?

    Here's the html template


    MN Grown Certified
  • Prairie Fed Beef: Direct from our farm to you

    Our PRAIRIE-FED cattle spend their entire lives on the Prairies rich pastures.  Our farm is blessed with soils rich in nutrients, a salad bar various grasses and humanely raised Devon-Angus cattle.  The flavor of beef is bright, tough and tender, not blunt or fat.  We are your local healthy taste beef.

    We avoid hormones, antibiotics, pesticides, herbicides, insecticides, commercial fertilizers, and by-product feeds on our farm.  In addition, we consider our Beyond ORGANIC management plan because we provide holistic care and concern for our livestock, our farm, our community and our ecosystem.

    We sell thePRAIRIE-FED BEEF in several cities in central Minnesota.  Our beef is skillfully treated Riverside meats in long Prairie, Minnesota, a family-based small-batch, USDA inspected facilities.  Click the COMMAND for details on our prices, packaging, and locations.  The command is easier for 2009.

    All of the Stine Family

    Copyright 2008 Stonebridge 320 594 0031 beef and OTG - DSS Inc. 320 594 7023

    FILE | Save as a template will definitely do the right thing.  But your page could not have been treated this way, or if it was, then after you create it you have removed parts of the model - do you?

    Let us know what produces your next steps...

  • Dreamweaver: Design Mobile (checkerboard to separate fluid or CSS sheets?)

    I am a novice designer trying to build my responsive first site using 'Fluid Grid Layout'

    1. it would be more easy/difficult for me to build 'fluid grid design' using CS6 or build Web CSS liquid/liquid site regularly, and change/add separate CSS stylesheets later for the Tablet and mobile devices. (If separate style sheets are used)... How, once the separate CSS and HTML on the server, they realized/implementation / targeting different platforms (Tablet and mobile) rather than the traditional site destop

    2. 'the first Mobile' is confusing me a little: I can excluded divs (no view) on mobile, I am showing on the desktop? For example: I want to build a navigation bar that runs through the page 100% on the desktop. It would be too small, unreadable on mobile. I would like to build a separate navigation for mobile bar, but do not know to implement. Should I create separate for each platform stylesheets and/or to change the CSS for the Mobile, tablet or desktop CSS (all on a single sheet of style with questions from the media) appropriate

    3 similar to question 2 (counterclockwise): can I build a site mobile with some divs with widgets (and) using 'Presentation of the Flexible grid', which are not inherited by Tablet and desktop?... probably leading to my main question below:

    4 what is the best way to design a Web site for Mobile, Tablet and desktop? I want to build a site that can have different content (IE widgets, navbars, etc.) for each platform: mobile, Tablet and desktop. My experience (or lack thereof) only allows me to include all the same content (fluid divs), laid out just diffently on three platforms.

    Y at - it a compromise between an easier way of design (design of the flexible grid) from a design methood that has more of the content control and presentation (separate CSS sheets)

    Thank you very much hope, there is a good discussion.

    REAGENT:

    Any sensitive framework you use, you need a working knowledge of CSS Media Queries and Responsive Web Design Theory.

    Guideline for Responsive Web Design

    http://coding.smashingmagazine.com/2011/01/12/guidelines-for-responsive-Web-design/

    Introduction to CSS Media Queries

    http://www.Adobe.com/devnet/Dreamweaver/articles/introducing-media-queries.html

    More sensitive frameworks - including FGLayouts of DW, work on the first principle Tablet as Desktop & Mobile are derived their primary code page layouts.

    Zurb Foundation

    http://Foundation.ZURB.com/templates.php

    Reusable skeleton

    http://www.getskeleton.com/

    Initializr (HTML5 Boilerplate, sensitive or "bootstrap")

    http://www.Initializr.com/

    Extension "bootstrap" of the DMX Zone for DW

    http://www.DMXzone.com/go/21759/DMXzone-bootstrap/

    Project of seven packages of Page (CSS Templates)

    http://www.Projectseven.com/products/templates/index.htm

    MENUS:

    Look at jQuery MeanMenu - a plugin to support your current menu system.

    MeanMenu inside FGLayout:

    http://ALT-Web.com/FluidGrid/Fluid2.html

    Or buy a sensitive menu of the seven project.  They make excellent extensions, widgets and templates for Dreamweaver.

    http://www.Projectseven.com/products/menusystems/pmm3/index.htm

    Nancy O.

  • CSS and Design View

    I used Dreamweaver since v3 and CSS for 4 years. Previously, I had no difficulty to see the result of my stylesheet linked in design mode, when you view an html page. I've recently updated for Dreamweaver 8.02. I also use the Master 4.51 for CSS working Style. Could one of these be influence the application making the css design mode or is it something else? Any ideas?

    In your main menu in Dreamweaver:

    View > Style rendering

    Make sure you have not inadvertently off rendering of style.

    --
    Al Sparber - PVII
    http://www.Projectseven.com
    Dreamweaver extension - Nav Systems | Galleries | Widgets
    Authors: "42nd Street: Mastering the Art of CSS Design.

    "mimbee10" wrote in message
    News:epbltn$p1g$1@forums. Macromedia.com...
    > In fashion design, I don't see the page is rendered with the CSS style.
    > It's rather
    > plain - formatted as if the style sheet cannot be found. What is
    > the
    > correct to refer to the css when it is attached to the outside? Or, is
    > Style master
    > the function of rendering CSS support?
    >

  • I can't tag friends on Facebook by typing in their names

    In Firefox for my office (Linux Mint), I am able to enter a person's name and mark in a message or a comment. For example, when I type in my wife's name he his tag in the post/comment and her report just him in a message/comment. I am also able to do it on Facebook using Chrome for Android mobile site. Unfortunately this behavior does not occur in Firefox on my Android phone.

    I thought it might be my modules (I use Adblock Edge and Ghostery), but I uninstalled both and I always feel the same behavior (or lack thereof).

    Anyone know what could be causing this?

    I found a way to solve this problem. Install the add-on false (which allows to change the user-agent string) and set the Firefox OS user agent string. Then re-load Facebook mobile site. You should be able to tag people by entering their name now.

    So it doesn't seem to be a JS issue, it seems to be how Facebook makes the site for Firefox for Android. If do you think that you use something else (for example Firefox OS) it renders properly.

  • Underline text in canvas?

    Is there a quick way to apply a style of underlining of text in canvas mode?  Unfortunately animate for a reason (or lack thereof) does not support this text style.

    Why I need to underline text?  I use some text in my document as hyperlinks.  To distinguish them from ordinary text, I used a "BOLD" font, color.  But my client wants to blind people of color to be able to identify the text of the hyperlink.  It is a convention that is well known in web browsers and a simple and obvious solution.

    Everything I've seen so far is complex JavaScript to achieve this, and it does not work with multi-line text.  Apparently animate for a reason (or lack thereof) does not support CSS styles.

    I could draw a line under each word-, but I hope it doesn't come to that.

    Someone at - it a fix for this problem?

    The reason (or its absence) animate is not supported (or lack thereof) underlined text mode is because the API element canvas itself does not support the underlining of the canvas text. There is no explicit style parameter as in CSS. Bold and italic are available by directly specifying police bold and italic variants. It is rather primitive.

    Text - Web drawing API | DND

  • Disjoint content bearing fixed spot

    I'm doing a disjointed rollover, but after I have a grid of thumbnails, I want my enlargemnt be contained in a specific area. I have this case it's the right saide sidebar. I found a good tutorial that got me this far, but can't seem to find how to make the next step. I don't want the enlargemnt compared to thumbnai. I want it in a fixed position.

    Here is my code so far:

    < ! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""

    " < html xmlns =" http://www.w3.org/1999/xhtml ">

    < head >

    < meta http-equiv = "Content-Type" content = text/html"; charset = utf-8 "/ >"

    < title > Untitled Document < /title >

    < style type = "text/css" >

    <!--

    {body

    Police: 100% / 1.4 Verdana, Arial, Helvetica, without serif.

    background-color: #4E5869;

    margin: 0;

    padding: 0;

    Color: #000;

    }

    / * ~ ~ Tag of the element selectors ~ ~ *.

    UL, ol, dl {/ * because of variations between the browsers, it's best practices to zero padding and the margin on lists.} For consistency, you can specify the amounts you want to here, or on the list (LI, DT, DD) items they contain. Don't forget that what you're doing here cascade to the .nav list unless you write a more specific selector. */

    padding: 0;

    margin: 0;

    }

    H1, h2, h3, h4, h5, h6 {p}

    margin-top: 0;     / * remove the top margin works around a problem where margins can escape from their container div. The margin of the low rest it will take away from all of the following items. */

    padding-right: 15px;

    padding-left: 15px; / * adding padding to the sides of the elements in divs, instead of divs themselves, gets rid of any mathematical model of box. A div nested with side pads can also be used as an alternative method. */

    }

    an img {/ * this switch how to remove the default blue border displayed in some browsers around an image when it is surrounded by a link * /}

    border: none;

    }

    / * ~ ~ Style for your site links must remain in this order - including the Group of selectors that create the hover effect. ~~ */

    a: link {}

    color: #414958;

    text-decoration: underline; / * unless you style your links appear to be extremely unique, it is best to predict stresses quick visual identification * /.

    }

    a: visited {}

    color: #4E5869;

    text-decoration: underline;

    }

    a: hover, a: active, a: focus {/ * this group of selectors will give a browser keyboard the same experience of hovering as the person using a mouse. * /}

    text-decoration: none;

    }

    / * ~ ~ This container surrounds all the other div tags giving them their percentage width ~ ~ * /.

    . Container {}

    Width: 80%;

    Max-width: 1260px; / * a max-width may be desirable to keep this provision to become too wide on a big screen. This keeps the more readable line length. IE6 does not respect this statement. */

    min-width: 780px; / * a min-width may be desirable to keep this provision to become too narrow. This keeps the more readable line length in the side columns. IE6 does not respect this statement. */

    background-color: #FFF;

    margin: 0 auto; / * set to auto on the sides, coupled with the width available to the centres. It is not necessary if you set the width of the .container to 100%. */

    }

    / * ~ ~ the header is not given a width. It will extend to the entire width of your layout. It contains an image placeholder to be replaced by your own logo linked ~ ~ * /.

    . Header {}

    background-color: #6F7D94;

    }

    / * ~ ~ These are the columns for page layout. ~~

    (1) padding is only placed on the top and/or bottom of the divs. The elements contained in these divs have padding on their sides. This avoids any «mathematical model of box» Keep in mind, if you add lateral pads or border to the div itself, it will be added to the width that you set to create the * total width. You can also remove the padding of the element inside the div tag, and place a second div inside it with no width and padding necessary for your design.

    (2) no margin was given to the columns, because they all floated. If you need to add the margin, avoid placing on the side you're floating into (for example: a right margin on a div set to float to the right). Many times, padding can be used instead. For divs where this rule needs to be broken, you must add a statement of ' display: inline ' to the rule of the div to tame a bug where some versions of Internet Explorer double the margin.

    (3) given that the classes can be used several times in a document (and an element can also have several classes applied), the columns have received the names of classes instead of IDs. For example, two sidebar div could be stacked if necessary. These can easily be changed to the ID if that's your preference, as long as you don't use them once per document.

    (4) If you prefer your nav on the right instead of the left, simply float those columns as the opposite direction (straight instead of left all) and they will return in reverse order. There is no need to move the div in the HTML source code.

    */

    {.sidebar1}

    float: left;

    Width: 20%;

    background-color: #93A5C4;

    padding-bottom: 10px;

    }

    . Happy {}

    padding: 10px 0;

    Width: 60%;

    float: left;

    }

    {.sidebar2}

    float: left;

    Width: 20%;

    background-color: #93A5C4;

    padding: 10px 0;

    }

    / * ~ ~ This group selector gives the lists in the domain content space ~ ~ * /.

    . Content ul, ol {} content

    padding: 0 15px 15px 40px; / * This padding reflects the right padding in the titles and the paragraph above net. Padding was placed on the bottom for the space between the other elements in the lists and on the left to create the withdrawal. These can be adjusted as desired. */

    }

    / * ~ ~ The list of navigation styles (can be removed if you choose to use a contextual menu premade as Spry) ~ ~ * /.

    UL. NAV {}

    list-style: none; / * This command deletes the list marker * /.

    border-top: 1px solid #666; / * This creates the top border for the links - all the others are placed using a bottom border on the LI * /.

    margin-bottom: 15px; / * This creates space between the following content browsing * /.

    }

    {ul li. NAV

    border-bottom: 1px solid #666; / * This creates separation button * /.

    }

    UL. NAV, the ul.nav: visited {/ * these selectors of grouping allows you to ensure that your links to retain their look button even after the ongoing visit * /}

    padding: 5px 5px 5px 15px;

    display: block; / * Gives the link properties block causing it to fill the whole container LI. This causes the entire area responds to a mouse click. */

    text-decoration: none;

    background-color: #8090AB;

    Color: #000;

    }

    UL. NAV a: hover, ul.nav one: ul.nav active,: focus {/ * this changes the background and color of text for browsers of the mouse and the keyboard * /}

    background-color: #6F7D94;

    color: #FFF;

    }

    / * ~ ~ Footer ~ ~ * /.

    .footer {}

    padding: 10px 0;

    background-color: #6F7D94;

    position: relative; / * This gives hasLayout IE6 to well clear * /.

    Clear: both; / * This clear property forces the .container to understand where the columns end up and contain them * /.

    }

    / * ~ ~ various float/clear classes ~ ~ * /.

    .fltrt {/ * this class can be used to float right to the item in your page.} The floating element must precede the element it should be next to the page. */

    float: right;

    left margin: 8px;

    }

    .fltlft {/ * this class can be used to float an element on your page.} The floating element must precede the element it should be next to the page. */

    float: left;

    right margin: 8px;

    }

    .clearfloat {/ * this class can be placed on a < br / > or div empty as the final element after the last div floating (in the #container) if the #footer is removed or put out the #container * /}

    Clear: both;

    height: 0;

    font size: 1px;

    line-height: 0px;

    }

    . Happy h1 img {}

    height: 100%;

    Width: 100%;

    }

    #rollover a {}

    border: none;

    text-decoration: none;

    padding: 0 0.5em 0 0.5em; / * the space between icons * /.

    position: relative; / * delete rule position if the images full size will share the same display area. **/

    }

    #rollover a span {}

    visibility: hidden;

    background-color: #FFF;

    display: block;

    position: absolute;

    / * adjust the positioning of the images full size in px or % * /.

    left: 250px;

    top:-140px;

    / * optional image captions * /.

    do-size: 12px;

    line-height: 1.2;

    color: #666;

    text-align: right;

    position: absolute;

    top: 0 px;

    right: 20px; / * optional image borders & padding * /.

    }

    #rollover a: hover span, #rollover a: active duration, #rollover one: duration of development {visibility: visible ;}}

    #rollover a: hover, #rollover a: focus

    {visibility: visible ;}}

    ->

    < / style >

    <!-[if lte IE 7] >

    < style >

    . Happy {right margin:-1px ;} / * this negative margin of 1px can be placed on any of the columns in this layout with the same corrective effect.} */

    UL. NAV a {zoom: 1 ;}}  / * the property zoom gives IE the hasLayout trigger to fix additional whiltespace between the links * /.

    < / style >

    <! [endif]-->

    "< script type =" text/javascript"src="includes/jQueryGallery/gallery.extend.js "> < / script >

    "< script type =" text/javascript"src="includes/jQueryGallery/jQueryGallery.js "> < / script >

    "< script type =" text/javascript"src="includes/jQueryGallery/jQueryGallery21.js "> < / script >

    "< link href="includes/jQueryGallery/jQueryGallery21.css "rel ="stylesheet"type =" text/css"/ >

    < / head >

    < body >

    < div class = "container" >

    < div class = "header" > < a href = "#" > < img src = "" alt = "Insert here the Logo" name = "Insert_logo" width = "20%" height = "90" id = "Insert_logo" style = "background-color: #8090AB; Display: block; "/ > < / a >

    <! - end .header - > < / div >

    < div class = "sidebar1″" >

    < ul class = "nav" >

    < li > < a href = "#" > link a < /a > < /li >

    < li > < a href = "#" > connect two < /a > < /li >

    < li > < a href = "#" > link three < /a > < /li >

    < li > < a href = "#" > link four < /a > < /li >

    < /ul >

    < p > the links above demonstrate a basic navigation structure using a style with CSS unordered list. Use it as a starting point and modify properties to produce your own unique look. If you have need of flyouts, create your own by using a Spry menu, a menu widget from Adobe Exchange or a variety of other javascript or CSS solutions. < /p >

    < p > if you want the navigation along the top, simply move the ul.nav to the top of the page and recreate the style. < /p >

    <! - end .sidebar1 - > < / div >

    < div class = "content" >

    < h1 > < / h1 > < div id = "reversal" >

    < p >

    "< a href =" # "> < img src =" file:///C|/GSLD site Web/images/Civic/Civic Adjustments/a2mclobb_thumb.jpg"width ="81"height ="78"/ > / > < span > < img src =" file:///C|/GSLD site Web, images, Civic, Civic Adjustments/bloomfieldexterior.jpg "width ="768"height ="532"/ > < br / >

    Legend option #1 </span > < /a >

    "< a href =" # "> < img src =" SmallIcons/image.png"alt =" "/ > < span > < img src =" FullSize/image.jpg"alt =" "/ > < br / > legend #2 optionally </span > < /a >

    "< a href =" # "> < img src =" SmallIcons/image.png"alt =" "/ > < span > < img src =" FullSize/image.jpg"alt =" "/ > < br / > legend #3 optionally </span > < /a >

    < /p >

    < / div > < / p >

    < p > note that if you use the property inspector to access your image of the logo using the field of the CBC (instead of remove and replace the placeholder), you need to remove inline background and view properties. These inline styles only serve to make the placeholder logo displays in browsers for demonstration purposes. < /p >

    < p > to remove the inline styles, make sure that your CSS Styles Panel is updated. Select the image and in the properties of the CSS Styles Panel pane, right-click and delete the display and background properties. (Of course, you can always go directly in the code and remove the image inline styles or placeholder there.) < /p >

    < h4 > Internet Explorer conditional comments < / h4 >

    < p > these liquid page layouts contain an Internet Explorer conditional comment (CICE) to correct two problems. < /p >

    < ol >

    < li > browsers are inconsistent in the way which they circle sizes in percent layouts div. If the browser must make a number like 144.5px or 564.5px, so round up to integer closest. Safari and Opera round, rounds up to Internet Explorer and Firefox rounds a column upwards and the other downwards to fill the tank completely. These rounding problems can lead to inconsistencies in some layouts. In the IECC there is a negative margin of 1px to fix IE. You can move to one of the columns (and on the left or right) to meet your needs for layout. < /li >

    < li > the zoom property has been added to the anchor in the navigation list since, in some cases, the extra space will be rendered in IE6 and IE7. Zoom gives IE its property hasLayout exclusive to correct this problem. < /li >

    < /ol >

    <! - end content - >

    < / div >

    < div class = 'sidebar2' >

    Background < h4 > < / h4 >

    < p > by nature, will show the background color to any div for the length of the content. If you want a line instead of a color, place a border on the side of the content div (but only if it will contain more content). < /p >

    <! - end .sidebar2 - > < / div >

    < div class = "footer" >

    < p > this .footer contains the statement of position: relative; giving hasLayout in Internet Explorer 6 for the .footer and it erase properly. If you are not required to support IE6, you can remove it. < /p >

    <! - end .footer - > < / div >

    <! - end .container - > < / div >

    < / body >

    < / html >

    Here's the concept:

    1. Create a page with two pictures on it
    2. Give each image a name attribute (use the name field in the property inspector)
    3. Select the first image and apply the swap image behavior
    4. By filling in the details of the behavior, select the SECOND image in the field called "Images".
    5. Complete the behavior by navigating to the incoming image you want to REPLACE THE SECOND image

    Get it?  This approach requires that you already have a picture of "detention" on the page that will be replaced by the enlarged image of the behaviour of swap.

  • Toolbar too jacked-up for level consumer PDF

    Sooner or later interactive 3D going to saturate our culture. Acrobat 3D is a big step, but it is targeted toward engineers and the consumer not marketing level.
    I want to produce these large PDFs for the marketing of consumer level products, but the toolbar is too feature rich for consumers. Tools are okay, we're going to keep, but by default, ROTATE tool, is just exasperating (not a good thing).
    I've been on the creative side of advertising for more than 30 years, in collaboration with 3D for the past ten years, and I'm doing some coding from time to time, so I'm not afraid of a challenge. I know this: a picture is worth a thousand words, a moving picture is worth ten thousand words, an interactive 3D needs NO words.
    Adobe has taken a giant with Acrobat 3D step, but society now seems to pull away. The acceptance level wide consumption will generate demand for Acrobat 3D, engineering market is not big enough in itself. Here's my problem, the TOOL BAR requires an engineering degree, this is way beyond the scope of attention of the consumer and the understanding. Consumers are not engineers, but they do not know how to use a mouse.
    So here's my list of wishes for Adobe Acrobat 3D consumer level:
    1. Remove the TOOL BAR and CLICK RIGHT submenu entirely to the annotation. When I say "Delete", I want this option off and make it not visible on a basis by tool-tool. Keep the TOOL BAR in Acrobat 3D, but I need to manage it in a concern for my product and consumers. I don't want customers seeing and I was wondering why they can get a tool to work or you wonder what they are missing because of a characteristic that is grayed out. I want to draw their attention to the product offered in the PDF file. (I can't do it yet)

    2. Rotate the default move tool and the only tool. (I CAN do this, through discussions of this forum and javascript)

    3. I need to limit the tool rotation SPIN to go below the ground plane and adjust the friction of the SPIN tool, some models are moving too quickly in the environment. (I can't do it yet)

    4. The cursor default arrowhead does nothing to promote (aside, distinguish or announce) the 3D environment. When a consumer has a slider on a 3D annotation on the cursor must disclose this fact. The slider to the right for this task is the 'move' cursor (it resembles the PAN TOOL icon). I need to set the icon of the MOVEMENT as the default 3D icon (I can't do it again)

    5. Create a 2D in front of the 3D scene layer to put JPGs and TEXT hover in front of the 3D annotation. This can be useful for placement of the custom display buttons, WE / OFF buttons, sliders to transparency in the scene, or switch between one or two model make modes or systems of different lighting. (I can't do it yet)

    6. As I have said before, 'remove the RIGHT CLICK submenu entirely' because it's a can of worms as the TOOL BAR. But I won't be able to customize the RC submenu when a consumer clicks on a part of the 3D model. When they right click, they must obtain a submenu of features, options, properties related to my offer product. (I can't do it yet)

    7. And finally, the URL connectivity. The submenu CLICK RIGHT has a function like: make a reservation, order this part, add to cart. (I can't do it yet)

    Now who will speed up Acrobat 3D. Anyone know how to accomplish these functions?

    Greg

    OK, in order:

    1. you can disable the toolbar by using the properties of the annotation of 3D, but you can not disable the popup (right click menu) or change the entries. You can add buttons to the toolbar in very limited using JS and can en/disable tools by name, but cannot replace the entire thing and does not affect the other drop down menus (such as lighting or rendering menus)

    2. easy with JS, as you already know: runtime.setCurrentTool('Spin');

    3. also possible with JS, but complex to be implemented you have to re - write the camera management functions and do a little math polar geometry. There are a few examples of Directlight using a script to crash to the ground for architectural renders inside a "bubble of sky", but the script they use is copyrighted.

    4. we do not access for cursor icons, period.

    5. you can do this in several ways; either a layer of watermark on the PDF, or using a SWF file embedded in the 3D scene and some JS to load the SWF file as an "object of first stage plan. I have covered a lot of this on the Acrobatusers.com tutorials, but talk more in upcoming shows.

    6 - See q1

    7 - very often-performed using JS and probably essential scripts in 3D PDF files is used to. There are examples of "purchase order 3D" everywhere on the Web, that use a script to override the default selection manager in the 3D scene, check the name of the node in the mesh that is clicked, and then the fire something to the PDF document (such as fill in a form field (, a document, etc.) -suggest you grab one and poke inside, managers are all roughly the same.

    It is important to note that the display of a 3D annot is managed by a plugin shipped with Acrobat and Adobe Reader, and this plugin decides what toolbars, menus, etc. appear. Because plugins are generally exposed to each other, you could not replace the default 3D toolbar even if you wrote a "plugin" plugin, and there is no intention to change the customization options (or lack thereof). I agree with you that some of the tools and context items are a bit obscure for Joe Public, but they were indeed designed to be used by engineers! PDF 3D was created for CAD/CAM data can be exchanged and journals, while it was realistic to expect people by opening the files were warned in how to work with 3D models. They are to be turned over to the public, but even today the vast majority of 3D PDF files went from one engineer, who both probably use a space pilot rather than orders from the toolbar.

  • CS4 MENU HORIZONTAL SPRY DOES NOT WORK IN IE 8

    I had problems with the drop-down list of CS4 so I decided to create a clean HTML page and start from scratch. I created a new HTML page with nothing else than a horizontal menu spry, but it does not work in IE 8. Drop-down menus do not show. Nothing has been changed in all included files in DW, but I copied and pasted below.

    Any help would be greatly appreciated.

    HTML:

    < ! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""
    " < html xmlns =" http://www.w3.org/1999/xhtml ">
    < head >
    < meta http-equiv = "Content-Type" content = text/html"; charset = utf-8 "/ >"
    < title > Untitled Document < /title >
    < script src = "SpryAssets/SpryMenuBar.js" type = "text/javascript" > < / script > "
    < link href = "SpryAssets/SpryMenuBarHorizontal.css" rel = "stylesheet" type = "text/css" / > "
    < / head >

    < body >
    < ul id = "MenuBar1" class = "MenuBarHorizontal" >
    < li > < a class = "MenuBarItemSubmenu" href = "#" > item 1 < /a >
    < ul >
    < li > < a href = "#" > 1.1 < /a > < /li >
    < li > < a href = "#" > 1.2 < /a > < /li >
    < li > < a href = "#" > question 1.3 < /a > < /li >
    < /ul >
    < /li >
    < li > < a href = "#" > item 2 < /a > < /li >
    < li > < a class = "MenuBarItemSubmenu" href = "#" > point 3 < /a >
    < ul >
    < li > < a class = "MenuBarItemSubmenu" href = "#" > point 3.1 < /a >
    < ul >
    < li > < a href = "#" > section 3.1.1 < /a > < /li >
    < li > < a href = "#" > 3.1.2 < /a > < /li >
    < /ul >
    < /li >
    < li > < a href = "#" > point 3.2 < /a > < /li >
    < li > < a href = "#" > point 3.3 < /a > < /li >
    < /ul >
    < /li >
    < li > < a href = "#" > point 4 < /a > < /li >
    < /ul >
    < script type = "text/javascript" >
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar ("MenuBar1", {imgDown: "SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});})
    ->
    < /script >
    < / body >
    < / html >

    @charset "UTF-8";

    / * Sections - version 0.6 - Pre - Release Spry 1.6.1 * /.

    / * Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */

    /*******************************************************************************

    The AVAILABLE INFORMATION: Describes the box model, positioning, the order

    *******************************************************************************/

    / * The outermost container for the menu bar, an area of width auto without margin or padding * /.
    UL. MenuBarHorizontal
    {
    margin: 0;
    padding: 0;
    list-style-type: none;
    do-size: 100%;
    cursor: default;
    Width: auto;
    }
    / * Value of the menu bar active with this class, currently the definition of z-index to accommodate IE rendering bugs: http://therealcrisp.xs4all.nl/Meuk/IE-zindexbug.html */
    UL. MenuBarActive
    {
    z-index: 1000;
    }
    / * Menu item containers, position of children relative to this container and are a fixed width * /.
    UL. MenuBarHorizontal li
    {
    margin: 0;
    padding: 0;
    list-style-type: none;
    do-size: 100%;
    position: relative;
    text-align: left;
    cursor: pointer;
    Width: 8th;
    float: left;
    }
    / * Submenus should appear under their parent (top: 0) with a higher z-index, but they are first the left side of the screen (-1000em) * /.
    UL. MenuBarHorizontal ul
    {
    margin: 0;
    padding: 0;
    list-style-type: none;
    do-size: 100%;
    z index: 1020;
    cursor: default;
    Width: 8.2em;
    position: absolute;
    left:-1000em;
    }
    / * Submenu that shows with the designation of the class MenuBarSubmenuVisible, we put the car left so it happens on the screen below its parent menu item * /.
    UL. MenuBarHorizontal ul. MenuBarSubmenuVisible
    {
    left: auto;
    }
    / * Container of menu items are same fixed width parent * /.
    UL. MenuBarHorizontal ul li
    {
    Width: 8.2em;
    }
    / * Submenus should appear slightly overlapping to the right (95%) and upward (-5%) * /.
    UL. MenuBarHorizontal ul ul
    {
    position: absolute;
    margin:-5% 0 0 95%;
    }
    / * Submenu that shows with the designation of the class MenuBarSubmenuVisible, we have left to 0, it is on the screen * /.
    UL. MenuBarHorizontal ul. MenuBarSubmenuVisible ul. MenuBarSubmenuVisible
    {
    left: auto;
    top: 0;
    }

    /*******************************************************************************

    INFORMATION DESIGN: Describes the set of colors, borders, fonts

    *******************************************************************************/

    / * Submenu containers have borders on all sides * /.
    UL. MenuBarHorizontal ul
    {
    border: 1px solid #CCC;
    }
    / * Menu items are a light grey block with padding and no text decoration * /.
    UL. MenuBarHorizontal a
    {
    display: block;
    cursor: pointer;
    background-color: #EEE;
    Padding: 0.5em 0.75em;
    Color: #333;
    text-decoration: none;
    }
    / Components menu that have mouse over or focus have a blue background and white text * /.
    UL. MenuBarHorizontal a: hover, ul. MenuBarHorizontal a: focus
    {
    background-color: # 33;
    color: #FFF;
    }
    / * Menu items that are opened with the submenus are on MenuBarItemHover with a blue background and white text * /.
    UL. MenuBarHorizontal a.MenuBarItemHover, ul. MenuBarHorizontal a.MenuBarItemSubmenuHover, ul. MenuBarHorizontal a.MenuBarSubmenuVisible
    {
    background-color: # 33;
    color: #FFF;
    }

    /*******************************************************************************

    Submenu INDICATION: styles if there is a submenu in a given category

    *******************************************************************************/

    / * Menu items that have a submenu have the MenuBarItemSubmenu class designation and are set to use a positioned background the far left (95%) and vertically centered image (50%) * /.
    UL. MenuBarHorizontal a.MenuBarItemSubmenu
    {
    background-image: url (SpryMenuBarDown.gif);
    background-repeat: no-repeat;
    background-position: 50 95%;
    }
    / * Menu items that have a submenu have the MenuBarItemSubmenu class designation and are set to use a positioned background the far left (95%) and vertically centered image (50%) * /.
    UL. MenuBarHorizontal ul a.MenuBarItemSubmenu
    {
    background-image: url (SpryMenuBarRight.gif);
    background-repeat: no-repeat;
    background-position: 50 95%;
    }
    / * Menu items that are opened with the submenus have the designation of the MenuBarItemSubmenuHover class and are set to use a background image "hover" positioned on the far left (95%) and centered vertically (50%) * /.
    UL. MenuBarHorizontal a.MenuBarItemSubmenuHover
    {
    background-image: url (SpryMenuBarDownHover.gif);
    background-repeat: no-repeat;
    background-position: 50 95%;
    }
    / * Menu items that are opened with the submenus have the designation of the MenuBarItemSubmenuHover class and are set to use a background image "hover" positioned on the far left (95%) and centered vertically (50%) * /.
    UL. MenuBarHorizontal ul a.MenuBarItemSubmenuHover
    {
    background-image: url (SpryMenuBarRightHover.gif);
    background-repeat: no-repeat;
    background-position: 50 95%;
    }

    /*******************************************************************************

    BROWSER HACKS: hacks below should not be changed, unless you are an expert

    *******************************************************************************/

    / * HACK FOR IE: to ensure that sub menus show above form controls, underpin us each submenu with an iframe * /.
    UL. MenuBarHorizontal iframe
    {
    position: absolute;
    z index: 1010;
    Filter:alpha(opacity:0.1);
    }
    / * HACK FOR IE: to stabilize the appearance of the menu items. the slash in the float is to keep IE 5.0 analysis * /.
    @media screen, projection
    {
    UL. MenuBarHorizontal li. MenuBarItemIE
    {
    display: inline;
    f\loat: left;
    Background: #FFF;
    }
    }

    SpryMenuBar.js - version 0.12 - Pre - Release Spry 1.6.1
    //
    Copyright (c) 2006. Adobe Systems Incorporated.
    All rights reserved.
    //
    Redistribution and use in source form and binary, with or without
    modification, are permitted provided that the following conditions are met:
    //
    * The redistributions of source code must retain the above copyright notice
    This list of conditions and the following disclaimer.
    * The redistributions in binary form must reproduce the above copyright notice
    This list of conditions and the following disclaimer in the documentation
    and/or other documents provided with the distribution.
    * Neither the name of Adobe Systems Incorporated nor the names of its
    contributors may be used to endorse or promote products derived from this
    software without specific written permission.
    //
    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS WHAT.
    AND ANY EXPRESS WARRANTY OR IMPLIED, INCLUDING, BUT WITHOUT LIMITATION, THE
    GUARANTEED IMPLICIT QUALITY MARKET AND ADEQUACY HAS A PARTICULAR PURPOSE
    ARE EXCLUDED. IN NO CASE WILL THE OWNER OF THE COPYRIGHT OR CONTRIBUTORS BE
    RESPONSIBLE FOR DIRECT, INDIRECT, INCIDENTAL, SPECIAL DAMAGES, COPIES, OR
    CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PURCHASES OF)
    SUBSTITUTE PRODUCTS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    RESULTING FROM THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    POSSIBILITY OF SUCH DAMAGES.

    /*******************************************************************************

    SpryMenuBar.js
    This file manages the JavaScript for the Spry menu bar.  You should have no need
    to change this file.  Some highlights of the object from the menu bar, is that the timers are
    used to prevent the display until the user has flown over the parent of submenus
    menu item for some time, but also a timer for when they leave a submenu to keep
    display this submenu until that timer starts.

    *******************************************************************************/

    var Spry; If (!.) Spry) Spry = {}; If (!.) Spry.Widget) Spry.Widget = {};

    Spry.BrowserSniff = function()
    {
    var b = navigator.appName.toString ();
    var up = navigator.platform.toString ();
    au var = navigator.userAgent.toString ();

    This.Mozilla = this.ie = this.opera = this.safari = false;
    var re_opera = /Opera. ([0 - 9.] *)/i;
    var re_msie = /MSIE. ([0 - 9.] *)/i;
    var re_gecko = / gecko/i;
    var re_safari = /(applewebkit|safari)-/ ([\d\.] *) / i;
    var r = false;

    If ((r = ua.match (re_opera))) {}
    This.Opera = true;
    This.version = parseFloat (r [1]);
    } else if ((r = ua.match (re_msie))) {}
    This.IE = true;
    This.version = parseFloat (r [1]);
    } else if ((r = ua.match (re_safari))) {}
    This.Safari = true;
    This.version = parseFloat (r [2]);
    } else if (ua.match (re_gecko)) {}
    var re_gecko_version = /rv:\s*([0-9\.]_+) / i;
    r = ua.match (re_gecko_version);
    This.Mozilla = true;
    This.version = parseFloat (r [1]);
    }
    This.Windows = this.mac = this.linux = false;

    This. Platform = ua.match (/ windows/i)? "windows":
    (ua.match (/ linux/i)?) "linux":
    (ua.match (/ mac/i)?) "mac":
    UA.match (/ unix/i)? (('unix': 'unknown'));
    [this. Platform] = true;
    This.v = this.version;

    If (this.safari & & this.mac & & this.mozilla) {}
    This.Mozilla = false;
    }
    };

    Spry.is = new Spry.BrowserSniff ();

    Constructor for the Menu bar
    element must be an ID of an unordered list (< ul > tag)
    preloadImage1 and preloadImage2 are images for the rollover a State menu
    Spry.Widget.MenuBar = function (element, opts)
    {
    This.init (element, opts);
    };

    Spry.Widget.MenuBar.prototype.init = function (element, opts)
    {
    This.Element = this.getElement (element);

    represents the menu (under-) current, in that we operate
    this.currMenu = null;
    this.showDelay = 250;
    this.hideDelay = 600;
    If (typeof document.getElementById == 'undefined' |) (navigator.vendor == 'Apple Computer, Inc.' & & typeof window.) XMLHttpRequest == "undefined"). (Spry.is.ie & & typeof document.uniqueID == 'undefined'))
    {
    deposit on older browsers not taken in charge
    return;
    }

    Difficulty of flickering images CSS IE6
    If (Spry.is.ie & & Spry.is.version < 7) {}
    try {}
    document.execCommand ("BackgroundImageCache", false, true);
    } catch (err) {}
    }

    this.upKeyCode = Spry.Widget.MenuBar.KEY_UP;
    this.downKeyCode = Spry.Widget.MenuBar.KEY_DOWN;
    this.leftKeyCode = Spry.Widget.MenuBar.KEY_LEFT;
    this.rightKeyCode = Spry.Widget.MenuBar.KEY_RIGHT;
    this.escKeyCode = Spry.Widget.MenuBar.KEY_ESC;

    this.hoverClass = "MenuBarItemHover";
    this.subHoverClass = "MenuBarItemSubmenuHover";
    this.subVisibleClass = "MenuBarSubmenuVisible";
    this.hasSubClass = "MenuBarItemSubmenu;
    this.activeClass = "MenuBarActive";
    this.isieClass = "MenuBarItemIE";
    this.verticalClass = "MenuBarVertical."
    this.horizontalClass = "MenuBarHorizontal;
    this.enableKeyboardNavigation = true;

    this.hasFocus = false;
    load the overview images now
    If (OPTS)
    {
    for (var k opts)
    {
    If (typeof this [k] is "undefined")
    {
    rollover var = new Image;
    rollover. SRC = opts [k];
    }
    }
    Spry.Widget.MenuBar.setOptions (, opts);
    }

    Safari does not support the tabindex
    If (Spry.is.safari)
    this.enableKeyboardNavigation = false;

    If (this.) Element)
    {
    this.currMenu = this.element;
    var items = this.element.getElementsByTagName('li');
    for (var i = 0; i < items.length; i ++)
    {
    If (I > 0 & & this.enableKeyboardNavigation)
    .tabIndex items [i]. GetElementsByTagName ('a') [0] = '-1';

    (Items [i], element); This.Initialize
    If (Spry.is.IE)
    {
    this.addClassName (items [i], this.isieClass);
    Items [i].style.position = "static";
    }
    }
    If (this.enableKeyboardNavigation)
    {
    var self = this;
    this.addEventListener (document, 'keydown', function (e) {self.keyDown (e)}; false);
    }

    If (Spry.is.IE)
    {
    If (this.hasClassName (this.element, this.verticalClass))
    {
    This.Element.style.position = "relative";
    }
    var linkitems = this.element.getElementsByTagName ('a');
    for (var i = 0; i < linkitems.length; i ++)
    {
    . style.position linkitems [i] = 'relative ';
    }
    }
    }
    };
    Spry.Widget.MenuBar.KEY_ESC = 27;
    Spry.Widget.MenuBar.KEY_UP = 38;
    Spry.Widget.MenuBar.KEY_DOWN = 40;
    Spry.Widget.MenuBar.KEY_LEFT = 37;
    Spry.Widget.MenuBar.KEY_RIGHT = 39;

    Spry.Widget.MenuBar.prototype.getElement = function (ele)
    {
    If (ele & & typeof ele == 'string')
    return document.getElementById (ele);
    return ele;
    };

    Spry.Widget.MenuBar.prototype.hasClassName = function (ele, className)
    {
    If (! ele |! className |! ele.className | ele.className.search (new RegExp ("\\b" + className + "\\b")) == - 1).
    {
    Returns false;
    }
    Returns true;
    };

    Spry.Widget.MenuBar.prototype.addClassName = function (ele, className)
    {
    If (! ele |! className | this.hasClassName (ele, className))
    return;
    ele.className += (ele.className? "": "") + ClassName; "
    };

    Spry.Widget.MenuBar.prototype.removeClassName = function (ele, className)
    {
    If (! ele |! className |! this.hasClassName (ele, className))
    return;
    ele.className = ele.className.replace (new RegExp ("\\s*\\b" + className + "\\b", "g"), ' ');
    };

    addEventListener for the Menu bar
    join an event a tag without creating annoying HTML code
    Spry.Widget.MenuBar.prototype.addEventListener = function (element, eventType, Manager, capture)
    {
    Try
    {
    If (element.addEventListener)
    {
    element.addEventListener (eventType, Manager, capture);
    }
    Else if (element.attachEvent)
    {
    element.attachEvent ("on" + eventType, handler);
    }
    }
    catch (e) {}
    };

    menu bar createIframeLayer
    creates an IFRAME under a menu that appears above the form controls and ActiveX
    Spry.Widget.MenuBar.prototype.createIframeLayer = function (menu)
    {
    var layer = document.createElement ('iframe');
    layer.tabIndex = '-1';
    Layer.src = "' javascript: '" '; "
    layer.frameBorder = '0';
    Layer.scrolling = 'no ';
    menu.parentNode.appendChild (layer);

    Layer.style.Left = menu.offsetLeft + 'px ';
    Layer.style.Top = menu.offsetTop + 'px ';
    Layer.style.Width = menu.offsetWidth + 'px ';
    Layer.style.Height = menu.offsetHeight + 'px ';
    };

    menu bar removeIframeLayer
    Removes an IFRAME under a menu to reveal form and ActiveX controls
    Spry.Widget.MenuBar.prototype.removeIframeLayer = function (menu)
    {
    var layers = ((menu == this.element)? menu: menu.parentNode) .getElementsByTagName ('iframe');
    While (layers.length > 0)
    {
    layers [0].parentNode.removeChild (Layers [0]);
    }
    };

    menu bar clearMenus
    root is the unordered list of high level (< ul > tag)
    Spry.Widget.MenuBar.prototype.clearMenus = function (root)
    {
    var menus = root.getElementsByTagName ('ul');
    for (var i = 0; i < menus.length; i ++)
    this.hideSubmenu (menus [i]);

    this.removeClassName (this.element, this.activeClass);
    };

    menu bar bubbledTextEvent
    identify bubbled events text in Safari, so we can ignore
    Spry.Widget.MenuBar.prototype.bubbledTextEvent = function()
    {
    return Spry.is.safari & & (event.target == event.relatedTarget.parentNode |) (event.eventPhase == 3 & & event.target.parentNode == event.relatedTarget)) ;
    };

    menu bar showSubmenu
    set the CSS class on this menu to show
    Spry.Widget.MenuBar.prototype.showSubmenu = function (menu)
    {
    If (this.currMenu)
    {
    this.clearMenus (this.currMenu);
    this.currMenu = null;
    }

    If (menu)
    {
    this.addClassName (menu, this.subVisibleClass);
    If (typeof document.all! = "undefined" & &!) Spry.is.Opera & & navigator.vendor! = 'KDE')
    {
    If (! this.hasClassName (this.element, this.horizontalClass): menu.parentNode.parentNode! = this.element)
    {
    menu.style.Top = menu.parentNode.offsetTop + 'px ';
    }
    }
    If (Spry.is.ie & & Spry.is.version < 7)
    {
    this.createIframeLayer (menu);
    }
    }
    this.addClassName (this.element, this.activeClass);
    };

    menu bar hideSubmenu
    delete the CSS class on this menu to hide
    Spry.Widget.MenuBar.prototype.hideSubmenu = function (menu)
    {
    If (menu)
    {
    this.removeClassName (menu, this.subVisibleClass);
    If (typeof document.all! = "undefined" & &!) Spry.is.Opera & & navigator.vendor! = 'KDE')
    {
    menu.style.Top = ";
    menu.style.Left = ";
    }
    If (Spry.is.ie & & Spry.is.version < 7)
    this.removeIframeLayer (menu);
    }
    };

    initialization of the Menu bar
    create listeners for events for the widget bar of menus so that we can properly
    show and hide sub-menus
    Spry.Widget.MenuBar.prototype.initialize = function (listitem, element)
    {
    var opentime, closetime;
    link var = listitem.getElementsByTagName ('a') [0];
    submenus var = listitem.getElementsByTagName ('ul');
    var menu = (submenus.length > 0? submenus [0]: null);

    If (menu)
    this.addClassName (link, this.hasSubClass);

    If (!.) Spry.is.IE)
    {
    define a simple function which comes standard in Internet Explorer to determine
    If a node is in another node
    ListItem.Contains = function (testNode)
    {
    It's the list item
    if(testNode == null)
    Returns false;

    if(testNode == This)
    Returns true;
    on the other
    Return this.contains (testNode.parentNode);
    };
    }

    need to set this to reach lower
    var self = this;
    this.addEventListener (listitem, "mouseover", Function {self.mouseOver (listitem, e)}; false);
    this.addEventListener (listitem, 'mouseout/mouseouthandler()', Function {if (self.enableKeyboardNavigation) self.clearSelection (); self.mouseOut (listitem, e);}, false);

    If (this.enableKeyboardNavigation)
    {
    this.addEventListener (link, 'blur', function (e) {self.onBlur (listitem)}; false);
    this.addEventListener (link, 'focus', Function {self.keyFocus (listitem, e)}; false);
    }
    };
    Spry.Widget.MenuBar.prototype.keyFocus = function (listitem, e As EventArgs)
    {
    this.lastOpen = listitem.getElementsByTagName ('a') [0];
    this.addClassName (this.lastOpen, listitem.getElementsByTagName('ul').length > 0? this.subHoverClass: this.hoverClass);
    this.hasFocus = true;
    };
    Spry.Widget.MenuBar.prototype.onBlur = function (listitem)
    {
    this.clearSelection (listitem);
    };
    Spry.Widget.MenuBar.prototype.clearSelection = {function (el)}
    search any intersection with the open current item
    If (! this.lastOpen)
    return;

    If (el)
    {
    El = el.getElementsByTagName ('a') [0];

    check children
    var point = this.lastOpen;
    While (article! = this.element)
    {
    var tmp = el;
    While (tmp! = this.element)
    {
    If (tmp is point)
    return;
    try {}
    tmp = tmp.parentNode;
    } catch (err) {break ;}
    }
    Item = item.parentNode;
    }
    }
    var point = this.lastOpen;
    While (article! = this.element)
    {
    this.hideSubmenu (item.parentNode);
    link var = item.getElementsByTagName ('a') [0];
    this.removeClassName (link, this.hoverClass);
    this.removeClassName (link, this.subHoverClass);
    Item = item.parentNode;
    }
    this.lastOpen = false;
    };
    Spry.Widget.MenuBar.prototype.keyDown = function (e)
    {
    If (! this.hasFocus)
    return;

    If (! this.lastOpen)
    {
    this.hasFocus = false;
    return;
    }

    var e = e | event;
    ListItem var = this.lastOpen.parentNode;
    var this.lastOpen = link;
    submenus var = listitem.getElementsByTagName ('ul');
    var menu = (submenus.length > 0? submenus [0]: null);
    var hasSubMenu (menu) =? true: false;

    opts var = [listitem, menu, null, this.getSibling (listitem, 'previousSibling'), this.getSibling (listitem, 'nextSibling')];

    If (! opts [3])
    opts [2] = (listitem.parentNode.parentNode.nodeName.toLowerCase () == 'li')? listitem.parentNode.parentNode:null;

    var found = 0;
    switch (e.keyCode) {}
    case this.upKeyCode:
    found = this.getElementForKey (opt, 'y', 1);
    break;
    case this.downKeyCode:
    found = this.getElementForKey (opt, 'y',-1);
    break;
    case this.leftKeyCode:
    found = this.getElementForKey (opt, 'x', 1);
    break;
    case this.rightKeyCode:
    found = this.getElementForKey (opt, 'x',-1);
    break;
    case this.escKeyCode:
    case 9:
    this.clearSelection ();
    this.hasFocus = false;
    default: return;
    }
    switch (found)
    {
    case 0: return End Function
    case 1:
    subopts
    this.mouseOver (listitem, e);
    break;
    case 2:
    parent
    this.mouseOut (opts [2], e);
    break;
    case 3:
    case 4:
    left - right
    this.removeClassName (link, hasSubMenu? this.subHoverClass: this.hoverClass);
    break;
    }
    var link is opts [found] .getElementsByTagName ('a') [0];.
    If (opts [found].nodeName.toLowerCase () is "ul")
    opts [found] = opts [found] .getElementsByTagName ('li') [0];

    this.addClassName (link, opts [found].getElementsByTagName('ul').length > 0? this.subHoverClass: this.hoverClass);
    this.lastOpen = link;
    OPTS [found]. GetElementsByTagName ('a') [0]. Focus();

    stop the new management of the events by the browser
    Return Spry.Widget.MenuBar.stopPropagation (e);
    };
    Spry.Widget.MenuBar.prototype.mouseOver = function (listitem, e As EventArgs)
    {
    link var = listitem.getElementsByTagName ('a') [0];
    submenus var = listitem.getElementsByTagName ('ul');
    var menu = (submenus.length > 0? submenus [0]: null);
    var hasSubMenu (menu) =? true: false;
    If (this.enableKeyboardNavigation)
    this.clearSelection (listitem);

    If (this.bubbledTextEvent ())
    {
    ignore the propagated events text
    return;
    }

    If (listitem.closetime)
    clearTimeout() (listitem.closetime);

    if(this.currMenu == ListItem)
    {
    this.currMenu = null;
    }

    move the focus too
    If (this.hasFocus)
    Link.Focus ();

    the menu highlighted
    this.addClassName (link, hasSubMenu? this.subHoverClass: this.hoverClass);
    this.lastOpen = link;
    If (menu & &! this.hasClassName (menu, this.subHoverClass))
    {
    var self = this;
    ListItem.OpenTime = window.setTimeout (function () {self.showSubmenu (menu)}; this.showDelay);
    }
    };
    Spry.Widget.MenuBar.prototype.mouseOut = function (listitem, e As EventArgs)
    {
    link var = listitem.getElementsByTagName ('a') [0];
    submenus var = listitem.getElementsByTagName ('ul');
    var menu = (submenus.length > 0? submenus [0]: null);
    var hasSubMenu (menu) =? true: false;
    If (this.bubbledTextEvent ())
    {
    ignore the propagated events text
    return;
    }

    var related = (typeof e.relatedTarget! = "undefined"? e.relatedTarget: e.toElement);
    If (!) ListItem.Contains (related))
    {
    If (listitem.opentime)
    clearTimeout() (listitem.opentime);
    this.currMenu = listitem;

    remove menu highlighting
    this.removeClassName (link, hasSubMenu? this.subHoverClass: this.hoverClass);
    If (menu)
    {
    var self = this;
    ListItem.closetime = window.setTimeout (function () {self.hideSubmenu (menu)}; this.hideDelay);
    }
    If (this.hasFocus)
    Link.Blur ();
    }
    };
    Spry.Widget.MenuBar.prototype.getSibling = function (element, siblings)
    {
    var = element [brother] child;
    While (child & & child.nodeName.toLowerCase ()! = "li")
    child = child [brother];

    return of child;
    };
    Spry.Widget.MenuBar.prototype.getElementForKey = function (SLE, prop, dir)
    {
    var found = 0;
    var Rect = Spry.Widget.MenuBar.getPosition;
    Var ref = rect (els [found]);

    var hideSubmenu = false;
    make the visible subitem to calculate the position
    If (els [1] & &! this.hasClassName (els [1], this.)) MenuBarSubmenuVisible))
    {
    . style.visibility Els [1] = "hidden";
    this.showSubmenu(els[1]);
    hideSubmenu = true;
    }

    var isVert = this.hasClassName (this.element, this.verticalClass);
    hasParent var = els [0].parentNode.parentNode.nodeName.toLowerCase () == 'li '? true: false;

    for (var i = 1; i < els.length; i ++) {}
    When you browse the y-axis in the menus vertical, ignore the children and parents
    If (prop == 'y' & & isVert & & (i == 1 | I == 2))
    {
    continue;
    }
    When navigationg on the x axis in the horizontal menu LEVEL FIRST, ignore the children and parents
    If (prop == 'x' & &! isVert & &! hasParent & & (i == 1 | I == 2))
    {
    continue;
    }

    If (els [i])
    {
    var tmp = rect (els [i]);
    If ((dir * tmp[prop]) < (dir * ref [prop]))
    {
    REF = tmp;
    found = i;
    }
    }
    }

    In return hide the submenu
    If (els [1] & & hideSubmenu) {}
    this.hideSubmenu(els[1]);
    . style.visibility Els [1] = ";
    }

    return found;
    };
    Spry.Widget.MenuBar.camelize = function (str)
    {
    If (str.indexOf('-') ==-1) {}
    return str;
    }
    var oStringList = str.split('-');
    var isFirstEntry = true;
    var camelizedString = ";

    for (var i = 0; i < oStringList.length; i ++)
    {
    If (oStringList [i] .length > 0)
    {
    If (isFirstEntry)
    {
    camelizedString = oStringList [i];
    isFirstEntry = false;
    }
    on the other
    {
    var s = oStringList [i];
    camelizedString += s.charAt (0) .toUpperCase () + s.substring (1);
    }
    }
    }

    Return camelizedString;
    };

    Spry.Widget.MenuBar.getStyleProp = function (element, prop)
    {
    var value;
    Try
    {
    If (element.style)
    value = element.style [Spry.Widget.MenuBar.camelize (prop)];

    If (! value)
    If (document.defaultView & & document.defaultView.getComputedStyle)
    {
    CSS var = document.defaultView.getComputedStyle (item, null);
    value = css? css.getPropertyValue (prop): null;
    }
    Else if (element.currentStyle)
    {
    value = element.currentStyle [Spry.Widget.MenuBar.camelize (prop)];
    }
    }
    catch (e) {}

    return value == 'auto '? NULL: value;
    };
    Spry.Widget.MenuBar.getIntProp = function (element, prop)
    {
    var a = parseInt (Spry.Widget.MenuBar.getStyleProp (item, prop), 10);
    If (isNaN (a))
    return 0;
    return a;
    };

    Spry.Widget.MenuBar.getPosition = function (el, doc)
    {
    doc = doc. document;
    If (typeof (el) == 'string') {}
    El = doc.getElementById (el);
    }

    If (! el) {}
    Returns false;
    }

    If (el.parentNode = null |) Spry.Widget.MenuBar.getStyleProp (el, 'display') == 'none') {}
    the element must be visible to have a box
    Returns false;
    }

    var ret = {x: 0, y: 0};
    var parent = null;
    var box;

    If (el.getBoundingClientRect) {/ / IE}
    box = el.getBoundingClientRect ();
    scrollTop var = doc.documentElement.scrollTop | doc.body.scrollTop;
    scrollLeft var = doc.documentElement.scrollLeft | doc.body.scrollLeft;
    RET.x = box.left + scrollLeft;
    RET.y = box.top + scrollTop;
    } Else if (doc.getBoxObjectFor) {/ / gecko}
    box = doc.getBoxObjectFor (el);
    RET.x = box.x;
    RET.y = box.y;
    } else {/ / safari/opera}
    RET.x = el.offsetLeft;
    RET.y = el.offsetTop;
    parent = el.offsetParent;
    If (parent! = el) {}
    While (parent) {}
    RET.x += parent.offsetLeft;
    RET.y += parent.offsetTop;
    parent = parent.offsetParent;
    }
    }
    Opera & (absolute safari) represent bad body offsetTop
    If (Spry.is.opera |) Spry.is.Safari & & Spry.Widget.MenuBar.getStyleProp (el, 'position') == 'absolute')
    RET.y = doc.body.offsetTop;
    }
    If (el.parentNode)
    parent = el.parentNode;
    on the other
    parent = null;
    If {(parent.nodeName)
    var No. case = parent.nodeName.toUpperCase ();
    While (parent & & case! = "BODY" & & case! = 'HTML') {}
    No case = parent.nodeName.toUpperCase ();
    RET.x = parent.scrollLeft;
    RET.y = parent.scrollTop;
    If (parent.parentNode)
    parent = parent.parentNode;
    on the other
    parent = null;
    }
    }
    return ret;
    };

    Spry.Widget.MenuBar.stopPropagation = function (ev)
    {
    If (ev.stopPropagation)
    ev.stopPropagation ();
    on the other
    ev.cancelBubble = true;
    If (ev.preventDefault)
    ev.preventDefault ();
    on the other
    ev.returnValue = false;
    };

    Spry.Widget.MenuBar.setOptions = function (obj, optionsObj, ignoreUndefinedProps)
    {
    If (! optionsObj)
    return;
    for (var optionName in optionsObj)
    {
    If (ignoreUndefinedProps & & optionsObj [Optionname] == undefined)
    continue;
    obj [Optionname] = optionsObj [Optionname];
    }
    };

    It may be an idea to enable active scripting in your browser on

  • Pages based on the template is displayed in the preview

    Hi all. I am a newbie to Dreamweaver and I have a problem with a site that was NOT created by me, but asked me to make a few simple changes to various pages (ha!). I downloaded the previous files of designers (via ftp) and did not transfer anything from the original location. Whenever I open my .shtml files (all) and try to preview in a browser, nothing in the template files mode is displayed.

    For example, this is what I see in Dreamweaver (design mode):

    Picture 1.png

    and when I saw the file in Firefox or Safari, that's what I see:

    Picture 2.png

    I made sure the Styles of rendering/display/display Style is checked indeed.

    Any ideas why the model elements show not on the preview? I even created a new page based on the template with the same results. Just for fun, the code for the template file is below.

    Thank you

    Kim


    ------------------------------

    < ! DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict / / IN" "http://www.w3.org/TR/html4/strict.dtd" > ""
    < html >
    < head >
    <!-TemplateBeginEditable name = "doctitle"-->
    < title > Coastal insulation LLC < /title >
    <! - TemplateEndEditable - >
    < meta http-equiv = "Content-Type" content = text/html"; charset = iso-8859-1 ">"
    <!-TemplateBeginEditable name = "head"->
    < name meta = "keywords" content = "" >
    < name meta = "description" content = "" >
    <! - TemplateEndEditable - >
    "< link href="/css/global.css "rel ="stylesheet"type =" text/css">
    "< link href="/css/section.css "rel ="stylesheet"type =" text/css">
    "< link href="/css/print.css "rel ="stylesheet"type =" text/css"media ="print">
    "< link href="/css/handheld.css "rel ="stylesheet"type =" text/css"media ="Pocket">
    "<!-[if lt IE 6] > < link rel ="stylesheet"type =" text/css"media ="screen"href="/css/ie6.css "/ > <! [endif]-->
    <!-TemplateParam name = "under title" type = "boolean" = "true"-> value <!-TemplateParam name = 'optional-lfContent' type = 'boolean' = 'false'-> value <!-TemplateParam name = "captionPhoto" type = "boolean" value = "true"->
    < / head >

    < body leftmargin = "0" topmargin = "0" marginWidth = "0" marginheight = "0" >
    "<!--virtual="/includes/masthead.ssi #include "-->
    <! - START content - >
    < div id = "content" >
    <! - left column of DEPARTURE - >
    < div id = "lfColumn" >
    "<!--virtual="/includes/lfNav.ssi #include "-->
    <! - left content optional START - >
    < div id = "lfContent" >
    <!-TemplateBeginIf cond = "_document ["option lfContent"]"--> <!-TemplateBeginEditable name = "optional-lfContent"-->
    the optional content < p > < /p > here
    <! - TemplateEndEditable - > <! - TemplateEndIf - > < / div >
    <! - left content optional END - >
    < / div >
    <! - left column of END - >
    <! - BEGIN right column - >
    < div id = "rtColumn" >
    <!-TemplateBeginEditable name = "title"--> < h1 > title < / h1 > <! - TemplateEndEditable - >
    <!-TemplateBeginIf cond = "_document ["sub-headline"]"--> <!-TemplateBeginEditable name = "Sub headline"--> < h2 > under title < / h2 > <! - TemplateEndEditable - > <! - TemplateEndIf - >
    <!-TemplateBeginIf cond = "captionPhoto"--> <!-TemplateBeginEditable name = "captionPhoto"->
    < ul class = "captionPhoto" >
    image
    Photo < /li > < li > legend
    < /ul >
    <! - TemplateEndEditable - > <! - TemplateEndIf - >
    <!-TemplateBeginEditable name = "bodyCopy"->
    Insert here the contents of < p > < /p >
    <! - TemplateEndEditable - > < / div >
    <!--> END right column
    < br class = 'clear' >
    < / div >
    <! - END content - >
    "<!--virtual="/includes/footer.ssi #include "-->
    < / body >
    < / html >

    Just a guess, but it seems that the site uses SSI (shtml extension and there is a ssi include in your model). You will probably need a testserver running (like XAMPP) on your local system for this preview in a browser.

    Friend

Maybe you are looking for

  • Black screen on a Macbook Pro

    Hello Unfortunately today my macbookpro fell at the entrance to a meter. At this time, when I opened first my mac, I see the Office for about 30 seconds the screen is all black disappeared. Now when I try to open it, I hear the mac start sound but th

  • Qosmio G10 to the HD TV connection pointers

    Hi all I just got a flea market G10-100 which is forming the basis of my entertainment system.I understand the Q10 is able to process and the HD video out and have read the forums, trying to figure out how to connect the G10-100 to my HD TV. I'm afra

  • Memory slot secondary satellite P30 145 unrecognized

    After a HARD recent failure disk format, I had to reinstall XP and downloaded the drivers Tosh not having does not have access to my original restore disk as I work abroad. The secondary memory slot is grateful now not any DDR, I'm moving to 2 G, any

  • HP ePrint ceased to recognize photos on ipad

    Have a photosmart c8180 printer all-in-one wireless and the ipad retina display running software version with the HP printing app 6.0.1loaded e. I used it to print photos of the ipad, but it has stopped working. With HP ePrint app open on the ipad, b

  • system will not connect to computer... Premium 7

    Error message: "the service user profile Service has no logon.  User profile cannot be loaded. » What does that mean?   What happens if something can do about it?