How can I show or hide a picture based on the size of the screen in CS6?

I have a website created using Dreamweaver CS6. I used the checkerboard to fluid to hold different views for each of the 3 types - phone, Tablet, desktop computer. It works well, resizes properly. I would like to be able to show a picture in the desktop version but not the mobile version. How I do that? I can see in the .css file that the screens of different size can have their own different settings. Y at - it code I could add that could hide/show and image based on the users on the same page window? Let's say I have a div that is named photo. How could I add a parameter to the div photo in the stylesheet that would hide the image if it were mobile?

Thank you

Marilyn

Thanks, I was able to change my code using your example and it works exactly as I wanted!

Tags: Dreamweaver

Similar Questions

  • How can I find a video or picture to open the case of notebook dv7-1130 ea pavilin to clean the fan?

    How can I find a video or picture to open the case of notebook dv7-1130 ea pavilin to clean the fan?

    Hello

    Google for results

    or download and read the manual for it

    http://h10025.www1.HP.com/ewfrf/wc/product?product=3812391&LC=en&DLC=en&cc=us&tool=&query=pavilin%20dv7-1130%20ea%20&lang=en

    or try the HP support

    http://WWW8.HP.com/us/en/contact-HP/contact.html

    or ask in the forums to Support HP

    http://h30434.www3.HP.com/

  • How can I show summary for every 15 minutes using the DATE data type

    This is probably an easy question, but the answer escapes me...

    I'm writing a SQL report that displays totals for each period of 15 minutes. I know you can do something like this for every minute:

    Select to_char (import_date, 'DD-MM-YYYY HH24'),
    Count (*) from
    package_ingest
    Group of to_char (import_date, 'DD-MM-YYYY HH24')

    But how can I change this query to get me every 15 minutes?

    Any feedback is greatly apprecaited!

    Thank you

    ADK-

    Also;

    WITH sample_data AS (
       SELECT to_date ('03-09-2009 14:05:05','MM-DD-YYYY HH24:MI:SS') import_date FROM dual UNION ALL
       SELECT to_date ('03-09-2009 14:17:17','MM-DD-YYYY HH24:MI:SS') FROM dual UNION ALL
       SELECT to_date ('03-09-2009 14:24:24','MM-DD-YYYY HH24:MI:SS') FROM dual UNION ALL
       SELECT to_date ('03-09-2009 14:29:29','MM-DD-YYYY HH24:MI:SS') FROM dual UNION ALL
       SELECT to_date ('03-09-2009 14:33:33','MM-DD-YYYY HH24:MI:SS') FROM dual UNION ALL
       SELECT to_date ('03-09-2009 14:44:44','MM-DD-YYYY HH24:MI:SS') FROM dual UNION ALL
       SELECT to_date ('03-09-2009 14:55:55','MM-DD-YYYY HH24:MI:SS') FROM dual)
    SELECT
       to_char(import_date,'MM-DD-YYYY HH24:') ||
       to_char(floor(to_number(to_char(import_date,'MI'))/15)*15, 'FM00') interval_15,
       COUNT(*)
    FROM sample_data
    GROUP BY
       to_char(import_date,'MM-DD-YYYY HH24:') ||
       to_char(floor(to_number(to_char(import_date,'MI'))/15)*15, 'FM00')
    ORDER BY 1;
    
    INTERVAL_15         COUNT(*)
    ----------------- ----------
    03-09-2009 14:00           1
    03-09-2009 14:15           3
    03-09-2009 14:30           2
    03-09-2009 14:45           1
    
  • How can I force an image to open completely on the screen in action?

    In PS CS5 when I open an image with height in the range of 1405-1411 or 1873-1882, the image opens half of the bottom of the screen.  Width opts seem to matter.

    I guess it's a bug, but until it is fixed, I'm trying to work around.

    For manual fitting the vertical adjustment button or zoom out screen causes the image to the screen lights up but neither of these options will save in an action to display.

    When an image is opened halfway off the screen, Place a command place precisely for these images.  So an action that includes a place does not work for these images.

    So either I want to find an arrangement (Nothing in preferences that I can find) to force the image open to the screen, or find a command that runs in an action that activates the picture to come on the screen, while not interefering with images that open normally.

    You can use Insert a Menu item (the Launcher to the Panel menu actions) to record something like view > fit to the screen, but what you describe should not be the case.

    You are using tabs or floating documents?

    Have you tried resetting preferences cs5?

    http://forums.Adobe.com/thread/375776?TSTART=0

    Maybe you could post a screenshot showing how the image opens.

  • How can I add a background to a video of the screen I recorded from my iPhone in iMovie?

    I recorded a record on my iPhone using my macbook and quicktime on the screen. When you change this video in iMovie how can I add a background on the left and right sides. I want the prettier for downloading Youtube video.

    Thank you

    Brandon

    Have you tried the image of image in iMovie?

    You could add the background element you want the main video track, then drag your recording on the screen the second piece with overlays. Select the effect of the image in the image, and then drag the corners resize to adjust the size of your video clip:

  • How can I resize an iframe in apex based on the amount of available space on the screen with a button

    Hello.  I have a request to 4.2.2.00.11, llg Server Oracle apex.  The conditions for this application are to hide and display a navigation bar by clicking on the buttons leathers/display on the screen.  The right side of the screen has an iframe that is to fill up whats left of the estate of the web browser.  Search in google, I found a function that works on the laundry.  I need the iframe to resize when the browser hides and shows, but when I tried to create a dynamic action on click to call javascript, hide and show the features of the browser bar break.  The iframe is not also resize.

    Here's the code that I currently use.

    JavaScript in my page header

    <script language="JavaScript">
    <!--
    function autoResize(id){
        var newheight;
        var newwidth;
    
    
        if(document.getElementById){
            newheight=document.getElementById(id).contentWindow.document.body.scrollHeight;
            newwidth=document.getElementById(id).contentWindow.document.body.scrollWidth;
        }
    
    
        document.getElementById(id).height= (newheight) + "px";
        document.getElementById(id).width= (newwidth) + "px";
    }
    //-->
    </script>
    
    

    The source of the IFRAME area.

    < IFRAME SRC = "f? p = & I_FRAME_APEX_APP_ID: & I_FRAME_APEX_PAGE_ID.: & APP_SESSION.

    : NO::ROLE: & ROLE. "width ="100% "height ="200px"id ="iframe1"marginheight ="0"frameborder ="0"onLoad ="autoResize ('iframe1'); "> < / iframe >

    A colleague suggested this, and the width is now set properly.  the height is always not to fit properly in the window.  When I set the height to 100%, the default height for pixels, I put in the iframe.

    
    
    
  • How can using XP Pro, I view pictures saved in the UDF on a CD?

    Is there a simple download that I can get to open files UDF on a CD?

    No guarantee... but it may be worth a try to install a UDF reader:

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    Free... Volume UDF - 7.1.0.95 player
    http://www.Roxio.com/enu/support/UDF/software_updates.html
    (Filename: updateudfreader_7.exe)

    Good luck...

  • Show or hide form fields based on the selection of cfselect

    Hello

    I use ColdFusion 9 and

    I want to show/hide a form field type = checkbox if an assigned value is selected from a drop-down list, but it does not work.

    I use a javascript function.

    My question is: is there the best opportunities with ColdFusion for this or Javascript is the best solution?

    Here is my code:

    < script type = "text/javascript" >

    function show() {}

    Select var = document.getElementById('dropdownlist').selectedIndex;

    if(Select == 1) document.getElementById('area').style.display = 'block ';

    else document.getElementById('area').style.display = "none";

    }

    < /script >

    ....

    < cfquery name = "select_list" >

    Select * from table

    < / cfquery >

    < cfform name = 'form' >

    < name = 'dropdownlist' cfselect onChange = "show (); ">

    < option value = "0" > please select < / option >

    < cfloop query = "select_select_list" >

    < option value = "#select_select_list.id #" > #select_list.name # < / option >

    < / cfloop >

    < / cfselect >

    < div id = 'space' style = "display: none" >

    < cfloop query = "select_list" >

    < style tr = "display: none" >

    < td >

    < name cfinput = "SSG" type = "checkbox" value = "#select_list.id #" > #select_list.name #.

    < table >

    < /tr >

    < / cfloop >

    < / div >

    < / cfform >

    Thank you and best regards!

    Claudia

    Well, thank you for your response.

    I changed the javascript function and replaced the

    with thetag. Then it works.

    Here is a snippet of my code:

    Select * from table

  • How can I add a new page dynamically based on the non recoverable text field?

    Hi all

    I created a form with subform flow and non-reusable text fields. When the user fills the long content, the shape is cut. Y at - it a way to dynamically add pages based on the content that the user fills the non recoverable text field?

    Thank you

    Check that the parent of the subform also has a fluid layout. If you have the structure below, both page 1 and subform must have a flow layout.

    Page1 (must be the flow)

    subform (must be the flow)

    TextField (let multiple lines and will expand to fit the height)

    If you have done all that, then it should work.

  • How can I make Lightroom my default picture on my Mac software?

    How can I make Lightroom my default picture on my Mac software?

    Hello

    Step 1

    Find your file and right click (Alt - click) the icon. This will bring you a menu with a number of actions in this regard. Click info

    Select Get Info

    Step 2

    You will be presented with a window that looks like the image below. Here all the information on the file that you selected, including its location on the Mac, the size of it and much more. What interests me is the section in the red zone.

    The Open with: section shows the current application that this type of file opens with, and clicking it it shows a drop-down list that hosts the application different types you can choose. Click on it to reveal the menu drop-down

    Step 3

    Drop-down choice of application

    You will be now be presented with something similar to the image above - a list of applications that can open this type of file. Select the one that you want to be the new default application.

    Tip: If your application is not in this list, you can select other at the bottom of the list to navigate through all of your applications on your Mac

    Confirmation

    Press the continue button in the pop-up dialog and you're all set!

    Thank you

  • How can I show the appellants all blocked on my iphone 5s

    How can I show the appellants all blocked on my ios iphone 5s 9 +?

    Settings > phone > blocked

  • How can I add text on a picture in the photo gallery

    How can I add text on a picture in the photo gallery? I have photos I want to add text on a project I'm doing. I can do this through Windows Photo Gallery? I have to open the pictures on another program to do this? If so, is anyone know what program (s) would be that this is possible?

    Thank you for your help and ideas

    How can I add text on a picture in the photo gallery? I have photos I want to add text on a project I'm doing. I can do this through Windows Photo Gallery? I have to open the pictures on another program to do this? If so, is anyone know what program (s) would be that this is possible?

    Thank you for your help and ideas

    ===================================
    Photo Gallery doesn't have an option to add a
    text on the face of a photo.

    You can add text with Microsoft Paint:

    Add text to a picture with Windows Paint
    http://www.pcdon.com/deAddingTexttoaPhoto.html

    And... I agree with sohail khan... Picasa is a very
    useful application:

    The free Picasa software has several options for adding
    text of photos.

    (FWIW... it is always a good idea to create
    a system before you install restore point
    software or updates)

    Picasa
    http://Picasa.Google.com/
    (you can uncheck some of)
    the options on the final installation screen)

    After you download and install Picasa...
    Open the program and double left click
    an image to open the editing functions.

    To add text to the front of the photo...
    choose... Simple retouching / text button...

    Picasa - features "Retouching": crop, add text, editing
    http://support.Google.com/Picasa/bin/answer.py?hl=en&answer=93403

    Picasa - printing text and borders with photos
    http://support.Google.com/Picasa/answer/106191?hl=en

  • How can I transfer photos from my pictures on a CD?

    How can I transfer photos from my pictures on a CD? I have the CD in the slot and my computer keeps saying insert CRE d ' training.

    The following links may be worth a visit:

    (982116) your CD or DVD drive is missing
    or is not recognized by Windows or other programs
    http://support.Microsoft.com/kb/982116
    (Windows XP / Windows Vista / Windows 7)

    Your CD or DVD drive cannot read or write media
    http://support.Microsoft.com/GP/cd_dvd_drive_problems

    Might be interesting to try to select the photos you want on
    the CD and right click on the selected group and
    the menu... Choose... Send to... in the Select menu
    your burner.

    Also the following freeware makes it easy to create
    a data CD:

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    CDBurnerXP
    http://www.CDBurnerXP.se/
    (Yes, it works on XP, Vista, 7)

    CDBurnerXP - create data disc
    http://CDBurnerXP.se/help/data/compiledata

  • How can I show what bssid a user is associated with the CLI on 1242 Cisco ap?

    How can I show what bssid a user is associated with the CLI on 1242 Cisco ap?

    SH associated dot11

  • How can I transfer photos from my picture kitchen? Thanks for any help!

    How can I transfer photos from my picture kitchen? Thanks for any help!

    Drag and drop the video,
    http://www.YouTube.com/watch?v=6n3YKsgOdsk

Maybe you are looking for