Alter disjointed rollover code to accomodate database driven images

The effect I would like to achieve is that by clicking on a
repeat region thumbnail image (first code block) the larger version
of the same selected image is viewed concurrently in a different
portion of the page(second code block)
THUMBNAIL IMAGE CODE:
<td ><%
While ((Repeat1__numRows <> 0) AND (NOT images.EOF))
%>
<a href="javascript:;"
onmouseover="MM_swapImage('largeimage','','largeimage',1)"
onmouseout="MM_swapImgRestore()"><img
src="imagescript.asp?path=<%=(images.Fields.Item("url_img").Value)%>&Width=36"
name="smallimage" border="0" id="smallimage" /></a>
<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
images.MoveNext()
Wend
%></td>
LARGER IMAGE CODE:
<td ><img
src="imagescript.asp?path=<%=(images.Fields.Item("url_img").Value)%>&Width=250"
name="largeimage" id="largeimage" /> </td>

#rollover a {
border:none;
text-decoration:none;
padding: 0 0.5em 0 0.5em; /**space between icons**/
position: relative; /**remove position rule if full size images will share the same display area. **/
Your CSS below expresses where on the page to display the disjointed image.  You'll need to tweak left and top values to get it exactly where you want it.
#rollover a span {
    visibility: hidden;
    background-color: #FFF;
    display: block;
   position: absolute;
    /**adjust positioning of full size images in px or %**/
    left: 250px;
    top: -140px;
For better answers, give us a link to your test page.
Nancy O.

Similar Messages

  • Using text to swap an image (disjointed rollover)

    Hi,
    I have some text on my page which is also a link.
    It has a background colour, which changes when my mouse hovers over it.
    I also want one image on the page to swap with another image when my mouse hovers over the text.
    Please can someone direct me to a website which discusses how to create a disjointed rollover using TEXT rather than an image.
    Thank you in advance

    Stuart Smitheringale wrote: You can see the effect that I have created at this site http://www.drivertrainingcompany.com
    Ideally, I would like to use CSS to create the same effect, without relying on swapping images.
    As there are often many ways to produce the same effect or behavior, each with its own advantages and disadvantages, having been able to produce the effect or behavior is often more important.
    Except for one matter in your page's behavior that you will probably want to change your page appears fine in the most recent versions of Safari, Firefox, and Opera.  The bigger problem at this point is that you need to clean up your HTML -- something to which Murray has already alluded.
    LESS THAN PERFECT BEHAVIOR
    When your mouse leaves one menu item to enter into the next, the words below your menu item change as you would probably like, but the previously highlighted menu item remains highlighted.  There is not a clean transition between menu items.  This problem can probably be fixed with an onmouseout event.
    CLEAN UP TIME
    Please refer to the validation link that I have provided below.  It will show you that there are structural problems in your page that can affect both the operation and appearance of your page as it is viewed in different browsers and in different versions of the same browser over time.  I have only checked three of the more popular browsers for you.
    SUGGESTION
    Clean up your structural problems first and see if the imperfect behavior described above does not disappear.  If it does not, then return with a new question, and someone will provide a fix, if you are yourself unable.
    VALIDATION LINK:  http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.drivertrainingcompany.com%2F
    Roddy

  • Disjointed rollover on a apDiv (CS5.5)

    Hi There, I'm working on a disjointed rollover using css. I want to apply this on an apDiv but somehow it's not working.
    Here's what I try to do:
    I have a div with a big animated gif that auto starts.
    On top of that I have an apDiv with a small logo (animated gif) that fades in with jQuery after the big animated gif is done.
    This is all working fine.
    Now I want to make the small logo to act as a rollover, revealing an image somewhere on top of the main div.
    With the present css the small image that suppose to become visible when you hover over the logo doesn't show. Here's my code:
    body {
              margin-left: 0px;
              margin-top: 0px;
              margin-right: 0px;
              background-color: #ECF1F5;
              text-align: center;
    #main {
              height: 540px;
              width: 960px;
              margin-right: auto;
              margin-left: auto;
              background-color: #FFF;
              z-index: 0;
    .main_img  {
              margin-top: 0px;
              margin-right: 60px;
              margin-left: 60px;
              background-color: #FFF;
    #h2 {
              background-color: #FFF;
              height: 80px;
              width: 960px;
              margin-right: auto;
              margin-left: auto;
    .adres {
              margin-top: 10px;
              margin-left: 116px;
              display: none;
    #wrapper {
              height: 620px;
              width: 960px;
              margin-right: auto;
              margin-left: auto;
              top: 0px;
    #apDiv1 {
              position:absolute;
              width:900px;
              height:424px;
              z-index:1;
    #pen {
              margin-top: 200px;
              margin-left: -100px;
    #rollover {
              margin-left: 702px;
              margin-top: 60px;
              height: 92px;
              width: 194px;
              z-index: 2;
              display: none;
    #rollover a {
              border:none;
              text-decoration:none;
              position: relative;
              margin-bottom: 100px;
    #rollover a span {
              display:none;
              position: absolute;
              /**adjust positioning of full size images in px or %**/
    left: -300px;
              top: 300px;
              z-index: 3;
    #rollover a:hover span, #rollover a:active span, #rollover a:focus span {
              display:block;
    What have I done wrong here? I am by no means a code junkie so I can use all the help I can get.
    Thanks in advance!

    <!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" />
    <meta name="description" content="info" />
    <meta name="robots" content="index,follow,noarchive" />
    <meta name="keywords" content="info" />
    <title>name website</title>
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
    <script>
    $(function() {
         $('#rollover').delay(6500).fadeIn(1500);
         $('.adres').delay(7500).fadeIn(1000);
        /* $('#panel').delay(11000).fadeIn(1000);*/
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_showHideLayers() { //v9.0
      var i,p,v,obj,args=MM_showHideLayers.arguments;
      for (i=0; i<(args.length-2); i+=3)
      with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
        if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
        obj.visibility=v; }
    </script>
    <style type="text/css">
    body {
        margin-left: 0px;
        margin-top: 0px;
        margin-right: 0px;
        background-color: #ECF1F5;
        text-align: center;
    #main {
        height: 540px;
        width: 960px;
        margin-right: auto;
        margin-left: auto;
        background-color: #FFF;
        z-index: 0;
    .main_img {
        margin-top: 0px;
        margin-right: 60px;
        margin-left: 60px;
        background-color: #FFF;
    #h2 {
        background-color: #FFF;
        height: 80px;
        width: 960px;
        margin-right: auto;
        margin-left: auto;
    .adres {
        margin-top: 10px;
        margin-left: 116px;
        display: none;
    #wrapper {
        height: 620px;
        width: 960px;
        margin-right: auto;
        margin-left: auto;
        top: 0px;
    #apDiv1 {
        position: absolute;
        width: 900px;
        height: 424px;
        z-index: 1;
    #pen {
        margin-top: 200px;
        margin-left: -100px;
    #rollover {
        margin-left: 702px;
        margin-top: 60px;
        height: 92px;
        width: 194px;
        z-index: 2;
        display: none;
    span#info {
        display: none;
    a#infotrigger:hover span#info {
        position: absolute;
        left: 160px;
        top: 240px;
        width: 349px;
        height: 89px;
        position: absolute;
        display: block;
    </style>
    </head>
    <body>
    <div id="wrapper">
      <div id="apDiv1"> <a href="#" id="infotrigger"><img src="images/logo_r.gif" alt="adress details" name="rollover" id="rollover" /> <span id="info"> <img src="images/26letters.png" alt=" headline" name="panel" border="0" usemap="#panelMap" id="panel" />
        <map name="panelMap" id="panelMap">
          <area shape="poly" coords="14,19" href="#" />
          <area shape="poly" coords="12,21,31,70,324,80,338,8" href="mailto:[email protected]" alt="email" />
        </map>
        </span></a></div>
      <div class="main" id="main"> <img src="images/h1.gif" alt="headlines" name="main_img" width="840" height="540" class="main_img" id="main_img" />
        <div class="h2" id="h2"><img src="images/h2.png" alt="adress details" name="adres" width="718" height="26" border="0" usemap="#adresMap" class="adres" id="adres" />
          <map name="adresMap" id="adresMap">
            <area shape="rect" coords="0,2,163,34" href="mailto:[email protected]" alt="email" />
          </map>
        </div>
      </div>
    </div>
    </div>
    </body>
    </html>
    In bold is what I've added. Some lines from your old code have been removed.
    What I've done here is used pure CSS (no jQuery) to trigger a display of an element on hover. But, do note that image maps here are pointless as the 'info' image will be shown only when you hover on logo - will disappear again when you mouseout from logo. So, an image map will make no sense.
    -ST

  • Disjointed rollover contained to fixed spot

    I'm trying to do a disjointed rollover, however after I have a grid of thumbnails I want my enlargemnt to be contained to a specific area. I this case it's the right saide bar. I found a good tutorial that got me this far, but can't seem to find out how to do the next step. I don't want the enlargemnt relative to thumbnai. I want it in fixed position.
    Here is my code so far:
    <!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" />
    <title>Untitled Document</title>
    <style type="text/css">
    <!--
    body {
        font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;
        background-color: #4E5869;
        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 div. 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 divs, instead of the divs themselves, gets rid of any box model math. A nested div 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:#414958;
        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: #4E5869;
        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 container surrounds all other divs giving them their percentage-based width ~~ */
    .container {
        width: 80%;
        max-width: 1260px;/* a max-width may be desirable to keep this layout from getting too wide on a large monitor. This keeps line length more readable. IE6 does not respect this declaration. */
        min-width: 780px;/* a min-width may be desirable to keep this layout from getting too narrow. This keeps line length more readable in the side columns. IE6 does not respect this declaration. */
        background-color: #FFF;
        margin: 0 auto; /* the auto value on the sides, coupled with the width, centers the layout. It is not needed if you set the .container's width to 100%. */
    /* ~~ the header is not given a width. It will extend the full width of your layout. It contains an image placeholder that should be replaced with your own linked logo ~~ */
    .header {
        background-color: #6F7D94;
    /* ~~ These are the columns for the layout. ~~
    1) Padding is only placed on the top and/or bottom of the divs. The elements within these divs 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 div 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 div and place a second div 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 div set to float right). Many times, padding can be used instead. For divs where this rule must be broken, you should add a "display:inline" declaration to the div'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 divs 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 right instead of the left, simply float these columns the opposite direction (all right instead of all left) and they'll render in reverse order. There's no need to move the divs around in the HTML source.
    .sidebar1 {
        float: left;
        width: 20%;
        background-color: #93A5C4;
        padding-bottom: 10px;
    .content {
        padding: 10px 0;
        width: 60%;
        float: left;
    .sidebar2 {
        float: left;
        width: 20%;
        background-color: #93A5C4;
        padding: 10px 0;
    /* ~~ 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. */
        text-decoration: none;
        background-color: #8090AB;
        color: #000;
    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: #6F7D94;
        color: #FFF;
    /* ~~The footer ~~ */
    .footer {
        padding: 10px 0;
        background-color: #6F7D94;
        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 */
    /* ~~miscellaneous float/clear classes~~ */
    .fltrt {  /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
        float: right;
        margin-left: 8px;
    .fltlft { /* this class can be used to float an element left in your page. The floated element must precede the element it should be next to on the page. */
        float: left;
        margin-right: 8px;
    .clearfloat { /* this class can be placed on a <br /> or empty div as the final element following the last floated div (within the #container) if the #footer is removed or taken out of the #container */
        clear:both;
        height:0;
        font-size: 1px;
        line-height: 0px;
    .content h1 img {
        height: 100%;
        width: 100%;
    #rollover a {
    border:none;
    text-decoration:none;
    padding: 0 0.5em 0 0.5em; /**space between icons**/
    position: relative; /**remove position rule if full size images will share the same display area. **/
    #rollover a span {
        visibility: hidden;
        background-color: #FFF;
        display: block;
        position: absolute;
        /**adjust positioning of full size images in px or %**/
        left: 250px;
        top: -140px;
        /**optional image captions**/
        font-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 span, #rollover a:focus span {visibility:visible;}
    #rollover a:hover, #rollover a:focus
    {visibility:visible;}
    -->
    </style>
    <!--[if lte IE 7]>
    <style>
    .content { margin-right: -1px; } /* this 1px negative margin can be placed on any of the columns in this layout with the same corrective effect. */
    ul.nav a { zoom: 1; }  /* the zoom property gives IE the hasLayout trigger it needs to correct extra 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 Logo Here" 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 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>
        <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.nav to the top of the page and recreate the styling.</p>
        <!-- end .sidebar1 --></div>
      <div class="content">
        <h1> </h1><div id="rollover">
    <p>
    <a href="#"><img src="file:///C|/GSLD Website/images/Civic/Civic Adjustments/a2mclobb_thumb.jpg" width="81" height="78" /> /><span><img src="file:///C|/GSLD Website/images/Civic/Civic Adjustments/bloomfieldexterior.jpg" width="768" height="532" /><br />
    optional caption #1</span></a>
    <a href="#"><img src="SmallIcons/image.png" alt="" /><span><img src="FullSize/image.jpg" alt=" " /><br />optional caption #2</span></a>
    <a href="#"><img src="SmallIcons/image.png" alt="" /><span><img src="FullSize/image.jpg" alt=" " /><br />optional caption #3</span></a>
    </p>
    </div> </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>
        <h4>Internet Explorer Conditional Comments</h4>
        <p>These liquid layouts contain an Internet Explorer Conditional Comment (IECC) to correct two issues. </p>
        <ol>
          <li>Browsers are inconsistent in the way they round div sizes in percent-based layouts. If the browser must render a number like 144.5px or 564.5px, they have to round it to the nearest whole number. Safari and Opera round down, Internet Explorer rounds up and Firefox rounds one column up and one down filling the container completely. These rounding issues can cause inconsistencies in some layouts. In this IECC there is a 1px negative margin to fix IE. You may move it to any of the columns (and on either the left or right) to suit your layout needs.</li>
          <li>The zoom property was added to the anchor within the navigation list since, in some cases, extra white space will be rendered in IE6 and IE7. Zoom gives IE its proprietary hasLayout property to fix this issue.</li>
        </ol>
        <!-- end .content -->
      </div>
      <div class="sidebar2">
        <h4>Backgrounds</h4>
        <p>By nature, the background color on any div will only show for the length of the content. If you'd like a dividing line instead of a color, place a border on the side of the .content div (but only if it will always contain more content).</p>
        <!-- end .sidebar2 --></div>
      <div class="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>
        <!-- end .footer --></div>
    <!-- end .container --></div>
    </body>
    </html>

    #rollover a {
    border:none;
    text-decoration:none;
    padding: 0 0.5em 0 0.5em; /**space between icons**/
    position: relative; /**remove position rule if full size images will share the same display area. **/
    Your CSS below expresses where on the page to display the disjointed image.  You'll need to tweak left and top values to get it exactly where you want it.
    #rollover a span {
        visibility: hidden;
        background-color: #FFF;
        display: block;
       position: absolute;
        /**adjust positioning of full size images in px or %**/
        left: 250px;
        top: -140px;
    For better answers, give us a link to your test page.
    Nancy O.

  • Button and 'disjointed' rollover

    I have put a button in the first frame of a movie clip and a
    graphic and the second and third frames. The graphics give the
    appearance that the button is being highlighted in a way different
    than when you actually roll over the button itself. I am doing this
    so that when you rollover a button you can show other buttons with
    the secondary highlights.
    My questiona are, why does my button loose its own behavior
    when I attach a behavior to the movie clip it is contained in?
    How can I get both the 'disjointed' rollover and the buttons
    own rollover to work at the same time?
    my test files
    swf -
    btnTest2.swf
    fla -
    btnTest2.fla

    Thank you for your reply, I think I understand the 'why' now.
    What I mean by the secondary highlights is what I show on the
    right-side of my example. I want to mouse over a button and have
    another button become 'highlighted' in a way that is different than
    the normal button over or down state.
    I'm really trying to solve this. I can make it work if I use
    a movieclip for all of the button 'states' of up, over, down,
    highlight 1, highlight 2 (each in their own frame). I then just add
    all of the 'go to frame 2' kind of code and the 'go to frame 4 in
    this other button' kind of code to the movieclip. The problem is
    that I have 77 of the same 'button' symbol on one page, thats alot
    of code to make mistakes with. And I can't make a symbol with all
    of the code for 'go to frame 2 on mouseover' already in the
    movieclip symbol or I run into the same problem i already have.
    Please help me understand this, it seems like it should be
    simple.

  • Disjointed rollover and jQuery (CS4)

    Hi there,
    I made a simple page that starts with a gif animation, when the animation is done, a div fades up and quickly after that another div fades up, both using jQuery. This last div holds just an image. Now I have to change that image for a simple disjointed rollover (show/hide) so that on mouseover a second image is shown. I made that rollover in FireWorks CS4 and exported it as html and images. Then I inserted the html of the rollover in place and did a preview and ouch, everyting is broken. The first hidden div doens't fade up and the second div is shown from the start. How do I fix this?

    I made that rollover in FireWorks CS4 and exported it as html and images.
    It's a huge mistake to rely on graphics apps to generate HTML code and scripts for you.  For best results, use DW to build your HTML & rollover behaviors.  Use graphics apps for images only.
    everyting is broken. The first hidden div doens't fade up and the second div is shown from the start.
    Evidently, you have script conflicts or some other egregious code errors that are killing your page.
    Validate your code:
         CSS - http://jigsaw.w3.org/css-validator/
         HTML - http://validator.w3.org/
    How do I fix this?
    No way to tell without seeing your page.  To simplify things, you could try a CSS Rollover method rather than another JavaScript.
    Pure CSS Button Rollover (Sprite).
    http://alt-web.com/DEMOS/CSS-Button-Sprite.shtml
    Pure CSS Disjointed Rollovers
    http://alt-web.com/DEMOS/CSS-Disjointed-Rollover-1.shtml
    Pure CSS Disjointed Menu Rollovers
    http://alt-web.com/DEMOS/CSS-Disjointed-Menu-Rollover.shtml
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/

  • Disjointed Rollover Link

    Hi,
    I'm not sure if this is even remotely possible using solely HTML and CSS.
    The idea is that I have a disjointed Rollover with the OnMouseOut for Image Restore deleted.
    Then in the rollover there will be 2 different links to click.
    So in essence
    Mouseover Object 1 > Rollover 1 Pops up with 2 Different links
    MouseOut Object 1 > Rollover 1 stays
    Rollover 1 Link gets clicked and takes user to another page.
    There's a good chance I could of described this better...
    Anyway, Thanks in advance!

    Thanks -
    This is the code you posted, but it shows no code to accomplish your rollover
    (you can paste any future code here in the Forum)
    <html>
    <head>
    <title>Untitled-1</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    </head>
    <body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
    <!-- Save for Web Slices (Untitled-1) -->
    <table id="Table_01" width="1366" height="768" border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td colspan="5">
    <img src="images/index_01.png" width="1366" height="63" alt=""></td>
    </tr>
    <tr>
    <td rowspan="2">
    <img src="images/index_02.png" width="61" height="705" alt=""></td>
    <td>
    <img src="images/index.png" width="556" height="646" alt=""></td>
    <td rowspan="2">
    <img src="images/index_04.png" width="134" height="705" alt=""></td>
    <td><a href="../Slide/Slide.html"><img src="images/index_05.png" width="556" height="646" alt=""></a></td>
    <td rowspan="2">
    <img src="images/index_06.png" width="59" height="705" alt=""></td>
    </tr>
    <tr>
    <td>
    <img src="images/index_07.png" width="556" height="59" alt=""></td>
    <td>
    <img src="images/index_08.png" width="556" height="59" alt=""></td>
    </tr>
    </table>
    <!-- End Save for Web Slices -->
    </body>
    </html>
    See this link for what is needed for rollover
    http://spot.pcc.edu/~gkerr/cas211d/coursefiles/css_examples/rollovers/css_disjointed_rollo ver_example.html
    Since you want clickable links, you might try show/hide behavior

  • Disjointed Rollover help

    Hi All!
    I'm trying to create a simple disjointed rollover. This is for a photography page; I want thumbnails near the bottom of the page and when someone rolls over the image I want that bigger image to appear in the middle of the screen. How do I do this?
    Thanks in advance!!!

    Do I make a new style sheet or paste code on my existing style sheet?
    You can paste the CSS code into your existing style sheet.
    To publish your site so that it can be viewed publicly, you need to procure a web server space from a commercial hosting company like Lunarpages, Dreamhost, Hostgator, etc...
    Go to Site > Manage Site > Advanced > Remote Server Info and enter the log-in details your host gave you to connect to your web server space:   FTP, user name, password, folder...
    Put / upload your page and dependant files to your remote server.
    See creating your first web site in DW CS5 -
    http://www.adobe.com/devnet/dreamweaver/articles/first_website_pt1.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Disjointed rollover on an apDiv (CS4)

    Hi There, I'm working on a disjointed rollover using css. I want to apply this on an apDiv but somehow it's not working. I've tried it on a normal div and i's working fine. I am by no means a code junkie so I can use all the help I can get. I've put up a sample page for you to look at: http://bit.ly/uLQBM7. On the left side the code applied to an apDive on the right the same code applied to a normal div. Can someone please explain what I am missing or point me to another solution that gets the same results? Thanks in advance!

    Here's my code:
    #rollover {
    margin-left: 702px;
    margin-top: 60px;
    height: 92px;
    width: 194px;
    z-index: 2;
    display: none;
    #rollover a {
    border:none;
    text-decoration:none;
    position: relative;
    margin-bottom: 100px;
    #rollover a span {
    visibility:hidden;
    display:none;
    position: absolute;
    /**adjust positioning of full size images in px or %**/
    left: -300px;
    top: 300px;
    z-index: 3;
    #rollover a:hover span, #rollover a:active span, #rollover a:focus span {
    visibility:visible;
    z-index: 3;
    <div id="apDiv1">
    <a href="#"><img src="images/show.gif" alt="logo" name="rollover" id="rollover" /><span><img src="images/hide.png" alt=" panel" name="pen" id="pen" /></span></a></div>
    Any ideas please?

  • Use dropdownlist to select image (database driven)

    Im building a web application in flash builder which will be database driven. The database will contain id (of product), name (of product), photofile (text string i.e photo1.jpg). i have the data/services up and running, i just need to get it so when the user selects a name from the dropdownlist the corresponding photofile is selected into the picture frame.
    I know to turn the photofile text into a picture it will be something like this but not sure what code to insert into the <s:Image tag;
    private function getPhotoURL(item:Object):String{
                                    return "http://............./assets/"+item.photofile;
    I don't know how to bind everything together, any help would be appreciated.

    I have 2 programs:
    First Pgm:
    <?php require_once('Connections/abc.php'); ?>
    <?php
    mysql_select_db($database_abc, $abc);
    $query_Recordset1 = "SELECT * FROM replyarticle";
    $Recordset1 = mysql_query($query_Recordset1, $abb) or
    die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = mysql_num_rows($Recordset1);
    ?><!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" />
    <title>Untitled Document</title>
    </head>
    <body>
    <a href="thumb.php?id=<?php echo
    $row_Recordset1['postid'];?>"><img src= "idea.GIF"
    width="20" height="19" border="0" /></a></p>
    </body>
    </html>
    <?php
    mysql_free_result($Recordset1);
    ?>
    Second pgm: thumb.php
    <?php require_once('Connections/abc.php'); ?>
    <?php
    $colname_Recordset1 = "-1";
    if (isset($_GET['id'])) {
    $colname_Recordset1 = (get_magic_quotes_gpc()) ? $_GET['id']
    : addslashes($_GET['id']);
    mysql_select_db($database_abc, $abc);
    $query_Recordset1 = sprintf("SELECT * FROM replyarticle WHERE
    postid = %s", $colname_Recordset1);
    $Recordset1 = mysql_query($query_Recordset1, $abb) or
    die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = mysql_num_rows($Recordset1);
    ?>
    <!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=" />
    <title>Untitled Document</title>
    </head>
    <body>
    <?php
    $img= $row_Recordset1['book_no']; ?>
    <?php
    $img_name=$img;
    header("Content-type: image/jpeg");
    list($w,$h)=getimagesize($img_name);
    $src_img=imagecreatefromjpeg($img_name);
    imagejpeg($src_img);
    imagedestroy($src_img);
    mysql_free_result($Recordset1);
    ?>
    </body>
    </html>
    Micha, am I working on what you said?

  • LOVs and how to substitute a database driven value with a more readable val

    Hello,
    I am using LOVS in my view objects and I like it because it is saving me time whille developing my UI: I get drop down list made automatically for me in my UI forms.
    However I have a requirement to change the values we see in the drop down today.
    Basically the values that show in the drop down are database driven and they are not very readable for the end users, so I would like to somehow convert them with some values that I know would make more sense.
    Let say in my database I have a fiield name type that can be G for general or S for Specific, I would like the user to see General or Specific in the drop down list instead of G or S. How would you do that and can LOVs be configured to do that?
    Thanks

    there is something called display attribute when you create your lov in the ui hints tab..
    you have shuttle the description for the code to the selected pane. .so that you see the description instead of the code that is bounded for the lov attribute..
    http://blogs.oracle.com/workingwithadf/entry/adf-bc_creating_a_listofvalues_lov_and_a_cascaded_lov
    https://lh6.googleusercontent.com/-LZExUnvVJAo/TXNp71j7VII/AAAAAAAAE3s/1ukcrJOrw2Y/s1600/4.png

  • How do you add a "back" and Next" capability to a Disjointed Rollover?

    I am having trouble linking two behaviors because I don't understand the code very well. I've seen what I am trying to do at other artists' websites like this one: http://www.emilyberger.net/paintings.html#
    I have a nice Disjointed Rollover to show art images. I also have made Mara Ribbers' Linked Slide.
    But what I want is to have the two things work together. Done successfully, one would see the detail images off to the left, with the larger picture showing when the details are rolled over. Then one would also have the option of clicking the "Next" & "Back" link/button to advance these same larger images.
    It is probably all done very elegantly with CSS, but I can't figure it out.
    Can this be done in CS3?
    Thanks much

    You should look into using a Spry Data widget. http://help.adobe.com/en_US/Dreamweaver/10.0_Using/WSA671B0BD-047C-4752-BFAC-B6C0601F9791. html#WS7F0B5D16-1F52-455a-A82B-60B61CE58E15
    I used a simple HTML page with a table to hold my dataset.
    I'm not certain of how to implement the previous/next, but I think it can be done...
    Here's a data widget I used on a site I put together for a friend: http://www.gravenimagedesign.net/nickerson/NickersonWork.html
    Although I have put the thumbnails in scrolling div, you could just place them in a wider div.
    Beth

  • Database driven combobox itemrenderer in DataGrid

    Hi
    I created a database driven combobox itemrenderer, code see below:
    The data is loaded and shown correctly, but when I change the combobox, suddenly a "0" appears:
    I can see in the debugger in combobox1_changeHandler, that the correct data is taken from the combo "this.selectedItem.data=3;" and written to "data.professionGroup", (changed from "1" to "3")
    but then when the code jumps to set data the "value.professionGroup" is "0"?!?!
    Thank yor for any pointers!
    The DataGrid:
        <mx:DataGrid id="personDg" dataProvider="{sm.persons}" width="100%" height="100%" editable="true">
             <mx:columns>
                <mx:DataGridColumn headerText="firstName" dataField="firstName"/>
                 <mx:DataGridColumn headerText="lastName" dataField="lastName"/>
                 <mx:DataGridColumn headerText="professionGroup" dataField="professionGroup" editable="true" editorDataField="data"
                     rendererIsEditor="true"
                     itemRenderer="com.xxx.view.components.combobox.ProfessionGroupCombo">
                 </mx:DataGridColumn>
            </mx:columns>
         </mx:DataGrid>
    The ItemRenderer:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:ComboBox xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/halo"
         change="combobox1_changeHandler(event)"  initialize="combobox1_initializeHandler(event)" >
             <fx:Script>
                 <![CDATA[
                     import mx.controls.dataGridClasses.DataGridListData;
                     import com.myfim.model.ShellModell;
                       import mx.events.ListEvent;
                        import mx.events.FlexEvent;
                     [Bindable]
                     private static var sm:ShellModell=ShellModell.getInstance();
                        public function setSelectedItemByValue(val:int):void{                                                                   
                             this.selectedIndex = -1; // Show prompt if value is not found
                             for (var i:int=0;i<this.dataProvider.length;i++){
                                if(this.dataProvider[i].data == val){
                                     this.selectedIndex = i;
                                     break;
                             }// for
                     override public function set data(value:Object):void{
                        super.data=value; // value is the VO!
                         setSelectedItemByValue(value.professionGroup);
                     protected function combobox1_changeHandler(event:ListEvent):void
                        data.professionGroup=this.selectedItem.data;                   
                        // I can see in the debugger that "data.professionGroup" gets the correct data f.e. ="3" , but if it jumps to the "set data" the                          value.professionGroup is "0" !??     
                    protected function combobox1_initializeHandler(event:FlexEvent):void
                        this.dataProvider=sm.comboData.professionGroupAc;  // AC of (label, data)
                 ]]>
             </fx:Script>
    </mx:ComboBox>

    Hi,
    yupiiee! I found the answer by myself, I had to change
    editorDataField="data" to editorDataField="value"
    Thats all! Then it works!
    Martin Zach

  • Can Adobe Muse be used to create database driven websites?

    Can Adobe Muse be used to create database driven websites, or is it only through "replace image through browse from your computer".

    Hi Edgard,
    I am afraid that this is not possible in Muse at this stage, I will recommend that you post this on our ideas section over here, Ideas for features in Adobe Muse, and let our devs team know of this requirement.
    In muse you can only design static content. For any dynamic content that you need to render via DB, you will need to write custom code and insert it in Muse via 'object -> insert html' option or 'properties -> metadata -> html for head' option.
    - Abhishek Maurya

  • ColdFusion f*cked up, database driven websites, is there another way?

    Hi there,
    I downloaded a trial version of ColdFusion from Adobe, and it won't ever let me setup, and it doesn't let me uninstall. It asks for my OS X login password, I typed it in correctly, and it always comes out wrond. Don't ask me if I did type it in wrongly, cus I didn't . I tried logging out and ten back in again. Adobe are probably a con, they don't let you uninstall software off YOUR computer. So, I was wondering, is there another way to make database driven websites on your Mac without using con company software like Adobe? If somebody can sort out the Adobe problem, I would be really appriciate it.
    Thanks!

    Ok, first of all you need to understand this entire process from installing the server apps, to writing the code, to laying out the page isnt going to be a simple drag and drop, point and click, upload and go process. Its going to be ALOT more involved than that on any operating system and in any development environment. I dont ever want to discourage, but im going to let you know right now if you have this attitude of "it didnt work in the first 10 minutes" you aint gonna end up creating anything. Period.
    That said, you need to consider where youre going to run this site. Are you going to run it off your home computer? Ok, then youll need a static ip address to bind to your domain name and at the leat a always on broadband connection - preferably a business account if you want to avoid being haslted by your ISP. If youre going to host the site somewhere then you need to lok at what type of server its going to run n and what technlogies are going to be available on that server. The most common are ASP/ASP.Net and PHP4.In combonation with MSSQL, MySQL or Postgre. You cant really run ASP on your mac since its an MS only thing (ALthough ther eis a Java server that will run ASP available from Sun Microsystems). So now youre left with PHP out of those two. Ofcourse, you can find hosts offering hosted Coldfusion and Ruby on Rails. However rails can be tricky to get working on a mac properly so id say youll probably jsut want to stick with PHP. Id reccommend php4 as opposed to php5 since most hosts arent yet offering php5(this is changing daily but for the time being in a learning environment jsut use 4).
    As for MySQL, agian you need to use in your environment the one youre using on your host. So stick with verion 4.x.x as thats what most hosts currently run... Mine still runs 3.x.x although tats set to change to 4.x.x by the end of the year.
    One thing youll learn in web development is that people dont always use the most recent generally available rleas of a product, particularily where opensource stuff is concerned.

Maybe you are looking for

  • Can I change Encoding used in InputStreamReader

    Hi Java Gurus: Wanted to know if I can somehow change the encoding used by InputStreamReader, the value of which I get by InputStreamReader.getEncoding(). I did change file.encoding to UTF8, but that does not change the encoding used by InputStreamRe

  • Delayed Write Failed - and now it can't start Windows

    Help! I'm in big trouble! I was using my Tecra 9100 (running XP Service Pack 2) and was looking at some of the files I had stored on my memory stick. I selected 'safely remove hardware' and pulled my memory stick out when I was finished. All of a sud

  • "Include" options when doing an export to QuickTime Movie in FCE 4?

    I've been doing a ton of testing on using keyframe motion with stills (http://discussions.apple.com/thread.jspa?threadID=1646571&tstart=0) so I'm not sure if I've made up what I think happened, or if it's a different option that I'm not seeing. When

  • Using text files for text

    hi, i like flex so i wan't to make flex sites that people can download. but for the people who dont have flex its going to be hard to edit so: if u have like a text control, and instead of typing text="text here" i want text="and instead of text it s

  • DHTML moving data on it's own

    One particular DHTML was giving me grief (all other woked just fine... but one is not cooperating).  I had several layers of DHTML's to put in, and on the 4th or 5th layer, RoboHelp would delete all the data in my DHTML link (drop down was still ther