Script position in head

Hello, In the example below I think with peoples help here I finally am getting these comments in the right places. I do think Adobe could have made it easier if they put the words /title or /head in the comments Ends but what do I know
My question now is since I moved the:   <link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
after the title should I move the: 
<style type="text/css">
</style>
<script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
that is after the meta tags up under the Spry menu.css also. I do not know if the browsers will react faster if it is all together or not. Our pages seem to load pretty fast but want to do things right. Also the problem with Spry on cell phones is tha the buttons freeze up sometimes so spry may have to go if we cant fix them next.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "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" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>TemplateOne</title>
<!-- TemplateEndEditable -->
<link href="../css/single.css" rel="stylesheet" type="text/css" />
<link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
<!-- TemplateBeginEditable name="head" -->
<meta name="title" content="TemplateOne" />
<meta name="description" content="   " />
<meta name="keywords" content="   " />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>
<meta http-equiv="Content-Language" content="en-us"/>
<meta http-equiv="VW96.OBJECT TYPE" content="Homepage"/>
<meta name="RATING" content="General"/>
<meta name="REVISIT-AFTER" content="15 days" />
<meta name="ROBOTS" content="ALL"/>
<meta name="GOOGLEBOT" content="Index, Follow"/>
<meta name="author" content=""/>
<meta name="replyto" content="customerservice@"/>
<meta name="resource-type" content="document"/>
<meta name="distribution" content="Global"/>
<meta name="copyright" content="©2014All Rights Reserved Worldwide."/>
<!-- TemplateEndEditable -->
<style type="text/css">
</style>
<script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
</head>
<body>

Look - if I have a template like this (lets call it page.dwt) -
<html>
<head>
<!-- TemplateBeginEditable name="doctitle" -->
<title>This is a title</title>
<!-- TemplateEndEditable -->
<style type="text/css">
body {
     margin:0;
</style>
<!-- TemplateBeginEditable name="head" -->
(any page-specific metas, CSS, JavaScript can go here)
<!-- TemplateEndEditable -->
</head>
<body>
(other editable regions would appear here so that you can add page-specific body content)
</body>
</html>
And I create a child page from it, that child will look like this -
<html>
<!-- InstanceBegin template="/Templates/page.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<!-- InstanceBeginEditable name="doctitle" -->
<title>This is a title</title>
<!-- InstanceEndEditable -->
<style type="text/css">
body {
     margin:0;
</style>
<!-- InstanceBeginEditable name="head" -->
(any page-specific metas, CSS, JavaScript can go here)
<!-- InstanceEndEditable -->
</head>
<body>
(other editable regions would appear here so that you can add page-specific body content)
</body>
</html>
In this child page, you will be able to edit the contents of the "doctitle" editable region, the "head" editable region, and all other editable regions that you may have placed in the body of the template.
Now, if I edit the template like this -
<title>This is a NEW title</title>
and save it, then none of the existing child pages will change because that edit was done to an EDITABLE region. But all NEW pages spawned from that template will have the edited title in that doctitle editable region, not the old one.
If I edit the template like this -
<!-- InstanceEndEditable -->
<style type="text/css">
body {
     margin:0;
     padding:0;
</style>
<!-- InstanceBeginEditable name="head" -->
and save it, then ALL child pages of that template will get that change because it was made to a NON-EDITABLE region of the template.
Get it?
You CANNOT edit content in the non-editable regions of any child page. The only way to do that would be to change that content in the template and save it so that it propagates to all child pages. If you want to have some page-specific content on a child page, you must edit the template to insert an editable region in that location, and then when you save the template, all child pages will get that editable region. This will then allow you to put page-specific content in that newly created editable region that will appear on each page.

Similar Messages

  • Changing Position of Header Icons In a Theme

    Hi
    I am trying to change the position of the iView Menu
    throw the theme editor -> iView's Trays -> Tray Header Icons -> Position of Header Icons 
    from right to left.
    But my changes doesn't effect the preview or the portal display (after I save my changes).
    I am working on EP6 SP12.
    Any ideas will be excepted gladly.
    Nitsan

    Hi,
    the styles are normally cached in the browser. You have to delete the cached content.
    In the IExplorer menu choose "Extras" -> "Internet options" and delete the temporary content.
    That could help.

  • Must be script tag inside head ?

    Must be <script> tag inside <head> ? Or is possible have <script> tag inside <body> before element with banner? This may cause a malfunction of the banner?

    Hi Jaroslav,
    The script tags have to go inside the head tags.
    Thanks,
    Preran

  • How to print background grey color in script output of header part

      Hi Experts,
             I had developed SAP SCRIPT, in that there are no. of line items based on line items the color should get change i.e suppose first line items rows should print grey while second  items  rows should not, third line items rows again should print grey and fourth should not...as on... with header cells will come background colour grey.Anyone can help me for this requirement.
        How we can color the rows in sap script.
    Thanks.

    Hi,
    From what I understand of SAPScript, it's next to impossible to dynamically draw lines in the MAIN window. I guess this also applies to grey backgrounds since you'd need to define the exact position of a box.
    Better use Smartforms or Adobe forms.
    If you find out how to achieve this, I'm interested to know how you do this :-)
    Good luck!
    Best regards,
    Zhou

  • Page failure when attempting to save java script in html header

    Currently there is java script code for a function that is seeded in the html header of a forms page by apex when the form is generated. This code is for the chicken test for the DELETE button.
    The function works as designed, but if I try to "APPLY CHANGES" to the the page definition I get the The page cannot be displayed "Cannot find server or DNS Error". "the url is http://nldg-3.appl.devjones.com:7777/pls/apex/wwv_flow.accept" If I remove the script coding from the HTML header the page will save just fine, but of course no more java script.
    I need to add a java script function to the page and I am unable to do so at this time because of this issue. I can reproduce this error on any of the sample apps that I have loaded into apex.
    the Apache error log contains:
    [Fri Feb 13 06:11:06 2009] [error] [client 172.16.85.122] [ecid: 1234527066:192.168.211.127:31922:0:17188,0] mod_plsql: /pls/apex/wwv_flow.accept HTTP-500 Error Reading Data from Client!!
    The Apache access gets:
    172.16.85.122 - APEX_PUBLIC_USER [13/Feb/2009:06:23:47 -0600] "POST /pls/apex/wwv_flow.accept HTTP/1.1" 500 653
    Apex is version 3.1.2.00.02 and uses on iAS on a Linux server. The Database is 10g. The browser is IE 6.0.2900.2180.
    I have been developing for about 3 months in Apex and this is the first issue of this kind that I have run into. Any help will be greatly appreciated as I have no clue at this time.

    Luis,
    All the forms are created by Apex with a default function in the html header for a delete chicken test as follows:
    <scrpt language="JavaScript" type="text/javascript">
    <!--
    htmldb_delete_message='"DELETE_CONFIRM_MSG"';
    //-->
    Even though the function is already a part of the page, if I try to save it, it will fail. I will look into the "black list" a little deeper. I have asked around abit as I also had suspected that, but so far all the answers were that it should not be a problem. If I take out the "SCRIPT" word I can get the page to save, but of course the code is worthless at that point.
    Keith

  • FPs Sig 5432 Script in HTTP header

    This signature appears to be looking for script markers in the header, but is firing on just the presence of 'script' which is not a problem. Example:
    000000 47 45 54 20 2F 42 75 72 73 74 69 6E 67 53 63 72 GET /BurstingScr
    000010 69 70 74 2F 61 64 64 69 6E 65 79 65 2E 6A 73 20 ipt/addineye.js
    000020 48 54 54 50 2F 31 2E 31 0D HTTP/1.1.

    Well, doesn't look malicious at all. Not that I was having all sorts of luck finding out much about it, but from what I could find, looks like a click thru banner ad. Just looks like its feeding some benign information into the javascript banner generator.
    I will update the benign triggers section of the signasture accordingly.

  • "Services for object" for SD document POSITION not header

    Hi,
    Could you tell me if there is a possibility to create attchment for a postion of SD document not a header? I would like to see that ex. position number 20 has an attachment. It would be great aslo to see an icon for position or any other flag.
    Could you give me some advice?
    Best regards,
    MK

    Thank you Pete but we are release 700 and this note applies to release 620 and older. I will try to find another note or another way.
    In the meantime we use the short-ID of SAP Portal Documents which are long to retrieve but always under 132 char.
    François

  • IPCC Script Position in Queue not incrementing

    Working on a position in queue script, I can't seem to get the position in queue variable to move beyond 1 no matter how many people are in the queue.  Has anyone got any hints / tips?  I'm using the Get Reporting Statistic, Position in Queue from CSQ IPCC Express.

    You shouldn't have to use that as a work around.  Open a TAC case, you may have a defect, and Cisco owes it to you, as a paying customer to deliver a working product.
    Here is video proof that the PIQ value dynamically updates during script execution.
    http://www.youtube.com/watch?v=6VNd5pMgygo

  • Getting navigation to position within header DIV

    Hi
    I am still learning CSS and have tried everything I know but I can't seem to get the left "home" navigation to sit right up to the left side of my header div.
    I have tried removing the padding/margin, creating a separate class for the other links to space them out.(link below)
    It is probably something simple, any suggestions greatly appreciated.
    Many thanks
    Mark
    http://www.epproductions.co.uk/charliepearcy/

    hi
    did u try to reset your style of pages as follows
    body, div, h1, h2, h3, h4, h5, h6, p, br, ol, span, ul, dt, dl, dd, form, blockquote, fieldset, input {
        padding: 0;
        margin: 0;
    /* Removes list-style from lists */
    ol, ul {
        list-style: none;
    /* Removes text-decoration from links */
    a {
        text-decoration: none;
    /* Removes border from img */
    a img {
        border: none;
    try to do dat,
    best

  • How to insert a script code before the /head tag?

    Would like to insert a <script> code inside all the pages of my website, and it has to be placed before the </head> code.
    Can I manage this with muse? Else, each time when I export the site as HTML, I need to open the updated file(s) and copy and paste again the SCRIPT code in the HEAD.

    Adding scripts to the head section of your documents is not currently supported in Muse, however it is planned for future versions of Muse.
    You can add links for scripts using Object -> Insert HTML, but they will be inserted roughly at the position of the HTML page item.

  • Script for Form validator in head causes error

    When I use the Window/Behaveiors/ to create a form validator, Dreamweaver CS5 puts script in the Head of page, and seems to work ok. But when I validate page with W3c it says there are errors with code and as Dreamweaver created this I have no idea what to do to put right, so could someone please help. This is code generated by Dreamweaver, all other pages have past with flying colors!
    <script type="text/javascript">
    function MM_validateForm() { //v4.0
      if (document.getElementById){
        var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
        for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=document.getElementById(args[i]);
          if (val) { nm=val.name; if ((val=val.value)!="") {
            if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
              if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
            } else if (test!='R') { num = parseFloat(val);
              if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
              if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
                min=test.substring(8,p); max=test.substring(p+1);
                if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
          } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
        } if (errors) alert('The following error(s) occurred:\n'+errors);
        document.MM_returnValue = (errors == '');
    </script>

    If the script is working fine in all browsers, you could put it in an external JS file and link to it, then the W3C validator won't find an error.
    If you don't know already, learn about how to do this:
    http://www.hypergurl.com/jsfiles.html

  • How to use Two main windows with in a page in script ?

    Hi any body explain me...
    How to use Two main windows with in a page in script ?
    with  header data in one main window,
    & Item data in other main window.

    HI..,
    u need to go for <b>SPLITTING THE MAIN WINDOW</b> !!!
    Main windows in page windows allow you to format text in multiple columns. Define an area in the page window, in which to position the main windows.
    Here is the procedure !!
    -->Create a page window and assign it to a page.
    Choose <b>Edit --> Main windows</b>.
    A dialog box appears.
    -->Enter values in the fields <b>Area width</b> and A<b>rea height</b> in accordance with the input guidelines for main windows.
    -->Enter values in the fields <b>Spacing</b> and Number in the <b>Horizontal group</b> if you want to use multiple columns. You can ignore the fields in the Vertical group.
    Determine how many columns and line areas are required for label printing. Then enter the corresponding values in the fields in the <b>Horizontal and Vertical groups</b>.
    -->The value in the field Left margin varies from main window to main window if multiple columns are used. The following applies:
    <b>
    Left margin of current column + Window width + Horizontal spacing = Left margin of next column</b>
    In label printing, the field Upper margin also varies from main window to main window:
    <b>
      Upper margin of current main window +  Window height + Vertical spacing = Upper margin of next main window</b>
    -->Enter a value in the field Start position.
    This is a counter. Enter a starting value which is equal to or greater than 1.
    -->The main windows are added to the list.
    -->Save your form.
    reward if it helps u...
    sai ramesh

  • Foramtting Paragraph in Header

    Hi Folks,
                  Forgive my ignorance I'm only new to Dreamweaver, but I'm having an issue with an html5 template included with DW, the two column. I try to put in a paragraph under the header, between vert menu and image in head, but when I go through the property inspector and select paragraph from the drop down it moves the vert menu down and creates a blank space, sort of like a two line paragraph, I don't want this blank space, any ideas? I'm working through one of those classroom in a book training guides and the egs in that don't have the gap either.
    Cheers for you help.

    Hi,
         Oh yeh sorry, i have attached the code as well as a screenshot of the issue in Dreamweaver, as you can see there is a gap between the green header section and the "instructions"/ "link one," this gap only occurred after I attempted to insert a paragraph under format drop down menu in Property Inspector. Note also that I'm modifying the html5 2 column template included with Dreamweaver under html.
    I hope this helps.
    Thanks again.
    <!doctype html>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>Untitled Document</title>
    <style type="text/css">
    <!--
    body {
              font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;
              background-color: #42413C;
              margin: 0;
              padding: 0;
              color: #000;
    /* ~~ Element/tag selectors ~~ */
    ul, ol, dl { /* Due to variations between browsers, it's best practices to zero padding and margin on lists. For consistency, you can either specify the amounts you want here, or on the list items (LI, DT, DD) they contain. Remember that what you do here will 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;           /* removing the top margin gets around an issue where margins can escape from their containing block. The remaining bottom margin will hold it away from any elements that follow. */
              padding-right: 15px;
              padding-left: 15px; /* adding the padding to the sides of the elements within the blocks, instead of the block elements themselves, gets rid of any box model math. A nested block with side padding can also be used as an alternate method. */
    a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
              border: none;
    /* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */
    a:link {
              color: #42413C;
              text-decoration: underline; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
    a:visited {
              color: #6E6C64;
              text-decoration: underline;
    a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
              text-decoration: none;
    /* ~~ This fixed width container surrounds all other blocks ~~ */
    .container {
              width: 960px;
              background-color: #FFFFFF;
              margin: 0 auto; /* the auto value on the sides, coupled with the width, centers the layout */
    /* ~~ The header is not given a width. It will extend the full width of your layout. ~~ */
    header {
              background-color: #ADB96E;
    /* ~~ These are the columns for the layout. ~~
    1) Padding is only placed on the top and/or bottom of the block elements. The elements within these blocks have padding on their sides. This saves you from any "box model math". Keep in mind, if you add any side padding or border to the block itself, it will be added to the width you define to create the *total* width. You may also choose to remove the padding on the element in the block element and place a second block element within it with no width and the padding necessary for your design.
    2) No margin has been given to the columns since they are all floated. If you must add margin, avoid placing it on the side you're floating toward (for example: a right margin on a block set to float right). Many times, padding can be used instead. For blocks where this rule must be broken, you should add a "display:inline" declaration to the block element's rule to tame a bug where some versions of Internet Explorer double the margin.
    3) Since classes can be used multiple times in a document (and an element can also have multiple classes applied), the columns have been assigned class names instead of IDs. For example, two sidebar blocks could be stacked if necessary. These can very easily be changed to IDs if that's your preference, as long as you'll only be using them once per document.
    4) If you prefer your nav on the left instead of the right, simply float these columns the opposite direction (all left instead of all right) and they'll render in reverse order. There's no need to move the blocks around in the HTML source.
    .sidebar1 {
              float: right;
              width: 180px;
              background-color: #EADCAE;
              padding-bottom: 10px;
    .content {
              padding: 10px 0;
              width: 780px;
              float: right;
    /* ~~ This grouped selector gives the lists in the .content area space ~~ */
    .content ul, .content ol {
              padding: 0 15px 15px 40px; /* this padding mirrors the right padding in the headings and paragraph rule above. Padding was placed on the bottom for space between other elements on the lists and on the left to create the indention. These may be adjusted as you wish. */
    /* ~~ The navigation list styles (can be removed if you choose to use a premade flyout menu like Spry) ~~ */
    ul.nav {
              list-style: none; /* this removes the list marker */
              border-top: 1px solid #666; /* this creates the top border for the links - all others are placed using a bottom border on the LI */
              margin-bottom: 15px; /* this creates the space between the navigation on the content below */
    ul.nav li {
              border-bottom: 1px solid #666; /* this creates the button separation */
    ul.nav a, ul.nav a:visited { /* grouping these selectors makes sure that your links retain their button look even after being visited */
              padding: 5px 5px 5px 15px;
              display: block; /* this gives the link block properties causing it to fill the whole LI containing it. This causes the entire area to react to a mouse click. */
              width: 160px;  /*this width makes the entire button clickable for IE6. If you don't need to support IE6, it can be removed. Calculate the proper width by subtracting the padding on this link from the width of your sidebar container. */
              text-decoration: none;
              background-color: #C6D580;
    ul.nav a:hover, ul.nav a:active, ul.nav a:focus { /* this changes the background and text color for both mouse and keyboard navigators */
              background-color: #ADB96E;
              color: #FFF;
    /* ~~ The footer ~~ */
    footer {
              padding: 10px 0;
              background-color: #CCC49F;
              position: relative;/* this gives IE6 hasLayout to properly clear */
              clear: both; /* this clear property forces the .container to understand where the columns end and contain them */
    /*HTML 5 support - Sets new HTML 5 tags to display:block so browsers know how to render the tags properly. */
    header, section, footer, aside, article, figure {
              display: block;
    -->
    </style><!--[if lt IE 9]>
    <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]--></head>
    <body>
    <div class="container">
      <header>
        <p> </p>
      </header>
      <div class="sidebar1">
        <ul class="nav">
          <li><a href="#">Link one</a></li>
          <li><a href="#">Link two</a></li>
          <li><a href="#">Link three</a></li>
          <li><a href="#">Link four</a></li>
        </ul>
        <aside>
          <p> The above links demonstrate a basic navigational structure using an unordered list styled with CSS. Use this as a starting point and modify the properties to produce your own unique look. If you require flyout menus, create your own using a Spry menu, a menu widget from Adobe's Exchange or a variety of other javascript or CSS solutions.</p>
          <p>If you would like the navigation along the top, simply move the ul to the top of the page and recreate the styling.</p>
        </aside>
      <!-- end .sidebar1 --></div>
      <article class="content">
        <h1>Instructions</h1>
        <section>
         <h2>How to use this document</h2>
          <p>Be aware that the CSS for these layouts is heavily commented. If you do most of your work in Design view, have a peek at the code to get tips on working with the CSS for the fixed layouts. You can remove these comments before you launch your site. To learn more about the techniques used in these CSS Layouts, read this article at Adobe's Developer Center - <a href="http://www.adobe.com/go/adc_css_layouts">http://www.adobe.com/go/adc_css_layouts</a>.</p>
        </section>
        <section>
          <h2>Clearing Method</h2>
          <p>Because all the columns are floated, this layout uses a clear:both declaration in the footer rule.  This clearing technique forces the .container to understand where the columns end in order to show any borders or background colors you place on the .container. If your design requires you to remove the footer from the .container, you'll need to use a different clearing method. The most reliable will be to add a &lt;br class=&quot;clearfloat&quot; /&gt; or &lt;div  class=&quot;clearfloat&quot;&gt;&lt;/div&gt; after your final floated column (but before the .container closes). This will have the same clearing effect. </p>
        </section>
        <section>
          <h2>Logo Replacement</h2>
          <p>An image placeholder was used in this layout in the header where you'll likely want to place  a logo. It is recommended that you remove the placeholder and replace it with your own linked logo. </p>
          <p> Be aware that if you use the Property inspector to navigate to your logo image using the SRC field (instead of removing and replacing the placeholder), you should remove the inline background and display properties. These inline styles are only used to make the logo placeholder show up in browsers for demonstration purposes. </p>
          <p>To remove the inline styles, make sure your CSS Styles panel is set to Current. Select the image, and in the Properties pane of the CSS Styles panel, right click and delete the display and background properties. (Of course, you can always go directly into the code and delete the inline styles from the image or placeholder there.)</p>
        </section>
        <section>
          <h2>Backgrounds</h2>
          <p>By nature, the background color on any block element will only show for the length of the content. This means if you're using a background color or border to create the look of a side column, it won't extend all the way to the footer but will stop when the content ends. If the .content block will always contain more content, you can place a border on the .content block to divide it from the column.</p>
        </section>
        <!-- end .content --></article>
      <footer>
        <p>This footer contains the declaration position:relative; to give Internet Explorer 6 hasLayout for the footer and cause it to clear correctly. If you're not required to support IE6, you may remove it.</p>
        <address>
          Address Content
        </address>
      </footer>
      <!-- end .container --></div>
    </body>
    </html>

  • I am having a problem running a script

    I am trying to put the code below in which works but not on my local webpage that I am building. Can anyone help. My Computer says that there is a runtime error.
    Thanks,
    David
    <html>
    <head>
    <!--Step 1: Add the below SCRIPT to the head of your page:-->
    <script type="text/javascript" src="spinmenu.js"></script>
    </head>
    <body>
    <p>Example Spin Menu:</p>
    <!--Step 2: Add the below SCRIPT to the body of your page where you want it to appear:-->
    <script type="text/javascript">
    3D Spin Menu- By Petre Stefan (http://www.eyecon.ro) w/ changes by JK
    Visit JavaScript Kit (http://www.javascriptkit.com) for script
    Keep this notice intact!
    eye.isvertical = 0; //if it's vertical or horizontal [0|1]
    eye.x = 150; // x offset from point of insertion on page
    eye.y = 0; // y offset from point of insertion on page
    eye.w = 150; // item's width
    eye.h = 30; // height
    eye.r = 100; // menu's radius
    eye.v = 20; // velocity
    eye.s = 8; // scale in space (for 3D effect)
    eye.color = '#ffffff'; // normal text color
    eye.colorover = '#ffffff'; // mouseover text color
    eye.backgroundcolor = '#0099ff'; // normal background color
    eye.backgroundcolorover = '#990000'; // mouseover background color
    eye.bordercolor = '#000000'; //border color
    eye.fontsize = 12; // font size
    eye.fontfamily = 'Arial'; //font family
    if (document.getElementById){
    document.write('<div id="spinanchor" style="height:'+eval(eye.h+20)+'"></div>')
    eye.anchor=document.getElementById('spinanchor')
    eye.spinmenu();
    eye.x+=getposOffset(eye.anchor, "left") //relatively position it
    eye.y+=getposOffset(eye.anchor, "top") //relatively position it
    //menuitem: eye.spinmenuitem(text, link, target)
    eye.spinmenuitem("JavaScript Kit","http://www.javascriptkit.com");
    eye.spinmenuitem("Free JavaScripts","http://www.javascriptkit.com/cutpastejava.shtml");
    eye.spinmenuitem("JS Tutorials","http://www.javascriptkit.com/javaindex.shtml");
    eye.spinmenuitem("Advanced JS Tutorials","http://www.javascriptkit.com/javatutors/");
    eye.spinmenuitem("DHTML/ CSS Tutorials","http://www.javascriptkit.com/dhtmltutors/index.shtml");
    eye.spinmenuitem("Web building tutorials","http://www.javascriptkit.com/howto/");
    eye.spinmenuclose();
    </script>
    <p align="left"><font face="arial" size="-2">This free script provided by<br>
    JavaScript Kit</font></p>
    </body>

    Try it with Netscape/MOzilla. They have good javascript console to help spot a javascript error. Target a new window to the peseudo-URL "javasript:"

  • Placing Flash header in html-DW 8

    What is the best practice to place a Flash swf file in html
    using Dreamweaver 8? Right now I took the code that Flash 8
    generates. When viewed in the browser the Flash header has a little
    bit of space around it and I want it to be flush on the top and
    left side...So do I use divs, container, wrapper with CSS to
    position the header where I want?
    my code:
    <body>
    <script type="text/javascript">
    AC_FL_RunContent( 'codebase','
    http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0','wi dth','770','height','130','id','header9','align','middle','src','header9','quality','high' ,'bgcolor','#ffffff','name','header9','allowscriptaccess','sameDomain','pluginspage','http ://www.macromedia.com/go/getflashplayer','movie','header9'
    ); //end AC code
    </script><noscript><object
    classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
    http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
    width="770" height="130" id="header9" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="movie" value="header9.swf" /><param
    name="quality" value="high" /><param name="bgcolor"
    value="#ffffff" /><embed src="header9.swf" quality="high"
    bgcolor="#ffffff" width="770" height="130" name="header9"
    align="middle" allowScriptAccess="sameDomain"
    type="application/x-shockwave-flash" pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    />
    </object></noscript>
    thanks!

    Use CSS -
    body { margin:0; padding:0; }
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "cognosco09" <[email protected]> wrote in
    message
    news:go132n$n02$[email protected]..
    > What is the best practice to place a Flash swf file in
    html using
    > Dreamweaver
    > 8? Right now I took the code that Flash 8 generates.
    When viewed in the
    > browser
    > the Flash header has a little bit of space around it and
    I want it to be
    > flush
    > on the top and left side...So do I use divs, container,
    wrapper with CSS
    > to
    > position the header where I want?
    >
    > my code:
    > <body>
    > <script type="text/javascript">
    > AC_FL_RunContent(
    > 'codebase','
    http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.ca
    >
    b#version=8,0,0,0','width','770','height','130','id','header9','align','middle',
    >
    'src','header9','quality','high','bgcolor','#ffffff','name','header9','allowscri
    > ptaccess','sameDomain','pluginspage','
    http://www.macromedia.com/go/getflashplaye
    > r','movie','header9' ); //end AC code
    > </script><noscript><object
    > classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
    > codebase="
    http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#
    > version=8,0,0,0" width="770" height="130" id="header9"
    align="middle">
    > <param name="allowScriptAccess" value="sameDomain"
    />
    > <param name="movie" value="header9.swf"
    /><param name="quality"
    > value="high"
    > /><param name="bgcolor" value="#ffffff"
    /><embed src="header9.swf"
    > quality="high" bgcolor="#ffffff" width="770"
    height="130" name="header9"
    > align="middle" allowScriptAccess="sameDomain"
    > type="application/x-shockwave-flash"
    > pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    />
    > </object></noscript>
    >
    > thanks!
    >

Maybe you are looking for

  • How can I create a "Resultset Browser" ?

    Hi all, I'm a beginner in java tech who want to create a "Resultset Browser" : I mean a resultset containing result from sql query, I want to display only 5 (or whatever u want) result in a html array. Behind this array two button (linK) next and pre

  • Rcv_header_interface have processing status code ERROR

    Hi, I'm trying to do a receiving for a complex PO but there is a error record in RCV_HEADER_INTERFACE table. I've checked the error through PO_INTERFACE_ERRORS tables, and it says the "group_id specified was not the group id that was expected" Any ad

  • Add comments to multiple files w\different existing comments

    hi all, i've got several thousand songs that i'd simply like to add the word "album" to in the comments field. the problem is, most of them already have comments in that field, and most of these existing comments are unique to each song. so, when i s

  • JSP in a JavaScript Call

    <script language="JavaScript"> function redirect(targetURL) alert("in redirect"); </script> <input name="aAct" type="button" value="Associate Activity" onClick="redirect(CED56.jsp?sysID=<%= request.getParameter("sysID") %>&sysName=<%= sys.getSystemNa

  • No luck to start solaris help please?

    hi, i wiped my hard disk twice, and installed the solaris 10 11/06 x86 six times but still problem, i installed the solaris in the first partiton of the primary IDE master, the partition is bootable, the installation process compleled with final inst