What is the best way to place a div at the top a javascript slideshow?

Here is my live home page which I want to add the div: http://tinyurl.com/d8mro4o

I want to place a diagonal image from a Red Ribbon with a special offer on this subject in the upper left corner, coming to overlap the photos in the slideshow. You don't know how go about this - as exactly where place the div code into the source code and how to position so it does not move and photos will change to below it.

Can anyone offer a good solution? Yet undetermined size, but something like this:special-offer-work.jpg

Please advise... my strong point is design not development.

Thank you very much

SG

I think it's a situation that calls for the position: absolute;

http://www.w3schools.com/cssref/pr_class_position.asp

Make your Ribbon and place it in a container div. Perhaps, div.signature or div. Banner

give the image position: absolute in your css, and one at the top left postiion.

div. Container img {}

position: absolute;

Top: number of pixels;

left: number of pixels;

}

And sweat the container div has position: relative:

{div. Container}

position: relative;

}

Fingers crossed!

Martin

Tags: Dreamweaver

Similar Questions

  • What is the best way to place the image (with legend) in a book?

    I am preparing a model for an encyclopedia project, the encyclopedia will be in addition to 10000 pages, so what is the best way to place the images (Photos, graphic illustration,... etc) with a legend?

    The problem that when I change the text; the image does not move with it, and when I place it in the text, it is difficult to control text flow.

    Please help

    I think so, but it can be a little weird, if the position of the anchor is on the second page of a two page spread. Really, I jumped in to suggest the image and the legend of consolidation before anchoring.

  • What is the best way to place an alias of the Recycle Bin on my desktop?

    Application of small trivial customization here.  Using OS X 10.11.4, what is the best way to create a trash can on the desktop?  I already tried the Terminal command to place the alias, but I'm unable to change the icon.  Given that I have with this method, how to change the folder icon image so that it represents a trash can?  I would find it useful enough to be honest.

    Thanks in advance.

    You can try to drag /System/Library/CoreServices/CoreTypes/Contents/Resources/TrashIcon.icns into the window read the information for the Alias. Upper left corner.

  • HP pavilion a622x: what is the top speed of ram I can spend on a HP pavilion a6228x?

    What would be the best way to move to 4 GB of ram currently 2 GB installed many messages from memory.

    Hello

    DDR2 667 or 800 MHz is currently available, both are compatible with HP Pavilion a6228x.

    Memory | Search
    http://www.Kingston.com/en/memory/search/default.aspx?DeviceType=2 & frm = HEW & Line = Pavilion & Model = 42892 & Description = Kingston_System_Specific_Memory_for_HEW_Pavilion_HP/Compaq_-_Pavilion_a6228x

    http://www.crucial.com/USA/en/compatible-upgrade-for//Pavilion-a6228x

  • Best way to approach (tables/DIVS)

    Hello community.

    I'm trying to create a layout that will be broken like this:

    tables_visual.jpg

    You see the same line at the top, then the left column has boxes of roughly equal size, while the middle column consists of two areas, the bottom larger than the upper, and the third column has a height of my two combined cell.

    I tried this in the tables without success - I use rowspans to join the ranks, but because of the layout, there is always a line that does not have a defined height (because of being spans the two ends in different < TD > tags.

    I thought < div > / < SPAN > but I have to admit, I don't know how to get this provision using < DIV > / < SPAN >.

    Does anyone have any ideas, tips or suggestions?

    You instruct your table to float: left; in your css and it's what he does.

    table {}
    float: left;
    }

    Restore the table px width and change the above to:

    table {}

    margin: 0 auto;

    }

  • Best way to place a deluge of images

    Hello

    I made a JavaScript script that loops between 20,000 + images and puts them into a master image. Code is:

    ...
    var sampleDocToOpen = File('~/a/'+(l+startF)+'/'+(i+start)+'.png')
    open (sampleDocToOpen)
    app.activeDocument.selection.selectAll()
    app.activeDocument.selection.copy()
    app.activeDocument.close()
    app.documents[0]
    app.activeDocument.paste()
    ...

    It works, but it is extremely slow (I also have the main flattened image every 30-40 for images make it faster).

    So I tried to put the images directly into the main image via:

    ...
    function placeFile(file) {
         var desc = new ActionDescriptor();
         desc.putPath( charIDToTypeID('null'), file );
         desc.putEnumerated( charIDToTypeID('FTcs'), charIDToTypeID('QCSt'), charIDToTypeID('Qcsa') );
             var offsetDesc = new ActionDescriptor();
             offsetDesc.putUnitDouble( charIDToTypeID('Hrzn'), charIDToTypeID('#Pxl'), 0.000000 );
             offsetDesc.putUnitDouble( charIDToTypeID('Vrtc'), charIDToTypeID('#Pxl'), 0.000000 );
         desc.putObject( charIDToTypeID('Ofst'), charIDToTypeID('Ofst'), offsetDesc );
         executeAction( charIDToTypeID('Plc '), desc, DialogModes.NO );
    };
    )
    ...

    But after the opening of a few images, he said that "the"scratch disks"is full ', and I verify that this is true, since almost 500 GB of HD are used by the application. The images are 512 x 512, the image main resulting image is so 83456 x 63488.

    Is there a faster way I could try to use?

    Thank you very much!

    Two suggestions. "1: try the Adobe script ' load files in Stack.jsx" that comes with Photoshop. 2: try to use two copies instead of copy and paste.

    var targetDoc = app.documents[0];
    var sampleDocToOpen = File('~/a/'+(l+startF)+'/'+(i+start)+'.png');
     var sourceDoc = open (sampleDocToOpen);
    sourceDoc.activeLayer.duplicate(targetDoc);
    sourceDoc.close();
    

    Note that scripts that work with a document that has a large number of layers can be slow. With 20 000 + layers it may not be a quick way.

  • What is your best way to center align two objects without moving one of them?

    I would greatly appreciate your advice.

    Use the align palette and define an object as a key object. Choose align to: and that is defined on the object key (if not already set)

    1. Select a group
    2. Shift click to add the next group to the selection
    3. then click on a group to set this as a key object (the sketch will turn into a "BOLD" since CS4 to mean is a key object)
    4. Choose alignment in the Align Panel
  • What is the format of javascript in the SCRIPT processor?

    Dear,

    I'm trying to divide the amounts of the two columns by using the script processor (because the divide processor is able to divide by a number 1,2,3,...).

    I tried below scripts and many variations, but it does not work.

    Could someone please help?

    I chose two attributes of the available attributes (the columns are called NewNumber.2, NewNumber.1).

    In the options tab of the, I wrote this script, with the result type digital.

    The output attribute column is called result.

    var x = "NewNumber.1";

    var y = "NewNumber.2";

    var z = 'result '.

    z = x / y;

    Thank you!!

    Just use an expression with the processor of the Expression, for example

    @ "Attribute 1"/@"Attribute 2.

  • What is the procedure to turn off a MD3000i?

    What is good/best way to take a MD3000i offline for a power failure?

    Once guests are stop is a stop command that I'm missing in the Storage Manager?

    Or does it just turned off via the power switches.


  • What is the best way/place to initialize everyting in my VI?

    OK LabVIEW Pros... I'm new to LabVIEW and created my first workstation (complex semi) powered by LabVIEW. In an attempt to form the best habits possible LabVIEW that I need some help. With graphical interfaces, there are always several variables and controls/indicators that must be initiailized. What is the best method to do it? It works perfectly, but seems just ugly... It would be better to throw all this in a Subvi or at that time here have I not to worry about all the references etc...? Ideas and best practice tips are needed/appreciated. See the example below...

    Thank you guys!

    Kellen

    rkmadse wrote:

    I was just using the error is to try and a GUARANTEE that these things are executed. For some reason, I thought that it was necessary, but what you're tellin me is if they are in order flat so I have really need connect the wires of the error at all and they will all run for sure before defined the while loop?

    Yes, you do not have to merge all the clusters of error, just a thread running on the while loop is good enough, as you have done. In this code snippet, the loop on the right has to wait the one on the left to complete before running. If you disconnect the terminal error however, they run them both at the same time.

  • What is the best way to consolidate e-mail messages in the e-mail program, before deleting?

    I have an iMac with a capacity to 1.11 - 679,49 GB available. With the software updated.

    Model name: I

    I have emails out of my different accounts in a "random" folder, but is not free up space. If I move an email in "Archives" and then it always remains in the e-mail account, apparently duplicate email in two places. "

    ERGO: the question is...

    What is the best way to consolidate e-mail messages in the e-mail program, before deleting?

    (I hope I've inserted which may be useful, but I'm not sure about that.)

    Thank you

    ilenefrombaltimore

    Archive messages or move them to some other local mailboxes or mailboxes on the server. Don't know what you are trying to do because it appears that you have 2/3 of your hard disk.

    Why do you think archiving emails in 2 places? Where are you trying to save space to?

  • Apple Extreme, Time Capsule and Express on the same system, what is the best way to set it up so that all devices smoothly from one end of the House to another?

    Apple Extreme, Time Capsule and Express on the same system, what is the best way to set it up so that all devices smoothly from one end of the House to another?

    I'm going to assume that you plan to have wireless devices.

    Let's say that the Capsule is your "main" router  If this is the case, then it must be located in the House, so that the distance between the time Capsule is the same for the outside walls of the House.

    Then, on the 'left' side of the House, looking for an airport to midway between the Capsule and time of the outer wall of the House. Do the same thing the 'right' side of the House.

    In other words, each of the two airports that "extend" the wireless signal are located at equal distance from the Capsule of time... but they are in opposite ends of the House.

    If you intend to interconnect all the airports and Time Capsule using a permanent, Ethernet wired... which by far is the 'best' way to put in place a network in terms of performance and reliability... then you can locate one of the devices anywhere you want.

  • What is the best way to correct the registry errors without the use of a registry cleaner in XP?

    I am sorry to raise this issue that so many people who have asked me.  I read pages and pages of discussions on the MS forum on this subject, and without exception, all the experts said Microsoft registry cleaners are completely unnecessary and that junk in the registers has no performance impact at all.  Instead, they say, to do x, y and z.  I am running Windows XP on my desk for five years, and gradually, he got so slow it's almost unbearable.  It takes 10-15 minutes just to start, and sometimes it takes 2 minutes or more just to open a window of browser (IE8) or go to the previous page by using the arrow to the left.  Before you tell me all the things it could be, please let me say that:

    1. my PC has not always been this slow!  It is getting worse.

    2. all my Windows software is up to date.  I have automatic updates on.

    3. I have a lot of disk space, almost 75% of free space on a hard drive of 80 GB.

    4. my PC is free of viruses, spyware and Trojans.  I have McAfee antivirus running and I also sometimes run Malwarebytes and Trojan Killer, because they always find things that don't have McAfee.

    5. I defragment my hard drive on a regular basis.

    6. I regularly delete all my temporary files by using the Windows Disk Cleanup utility.

    7. I have very little, if any "Add-ons".  No toolbar Yahoo or Google (or Bing!).

    8. I removed nearly every program that I start, so that they are not running in the background.

    9. I uninstalled all the programs that I don't use.

    However, I still have a slow ever-more computer.  Sometimes, when I see ads on TV to increase the speed of my PC, I download the 'free' software, and they claim to find hundreds or thousands of "registry errors.  When I look at the newspapers, I see many entries in registry for 'Netscape' and 'Google Earth', which I uninstalled years ago, as well as entries for the videos that I downloaded, seen once, and deleted a long time ago.

    So, what's the problem?  If it's not related to my registry (which Trojan Killer says has more 6 000 entries!), what else could be?  I would appreciate greatly any advice you can give, because there are dozens of companies on their touting their registry cleaners and the uninstall (for a price) programs, and after reading reviews of the MS MVPs, I'm skeptical of their claims.  Thank you.  :)

    I can't disagree with a lot of things have already been said.

    I'm willing to accept that your machine does actually takes 10 to 15 minutes on the clock. It's completely absurd.

    Some people call your "Windows Rot" problem. Becomes just the slower windows over time. It is a collection of things that are happening in the background. Yes I believe that the register contributes. Using a registry cleaner is not a "magic" solution But it can help a little.

    The PC care program/process you described is above average.  I suggest you add CCleaner. Disk Cleanup is not bad, CCleaner is better, cleaning of other stuff which does not resemble the DC. It won't be a significant difference because disk space is not your problem, but it will help a little.

    'Play' with the registry is VERY risky. If you decide to go ahead, I would say that first make you a copy of the full image backup using a utility that can be started and run from a CD/DVD. Just in case the registry cleaner breaks of your machine.

    Registry cleaners is that they take a "best estimate" to what is no longer necessary. Sometimes they think wrong. And each vacuum cleaner will clean slightly different sets of places.  If the tool does not provide a way to back up the registry before you start cleaning, do not use it. He is not careful enough.

    If vacuuming offer 'levels' of cleaning, enjoy. Open for more aggressive cleaning, with resetting and long series of normal use between cleanings.

    You are looking for a tool which also makes registry "defragmentation". The registry is a database that get disorganized by additions and deletions. Defragmentation will be re - organize and get rid of a 'lost' space, making it the smallest file, afterwards faster to read.  It is not something you need to do frequently, but since you've never done it in 5 years, it would help, after cleaning registry.

    Another place to find CPU and RAM wasted resources is Windows Services. These are small programs that start at boot time. They run in the background and provide support services to all applications or specific applications.  Many applications services are running even though you don't really need them. You can find information on which you can set by Googling for 'Windows XP hardening'. There are a lot of sites with good information. They call it hardening because by disabling unnecessary stuff, you leave less possible openings for the "bad guys" to the attack.

    Ultimately, I think your best bet will simply bite the bullet and re - install windows and all your applications. It's the best way to restore your computer to almost any performance fees factory. (It is not exactly factory fresh because you need to add a ton of Windows updates).

    Before you re-install, do copy image 1 or more full backups. At least one must be done using a tool that will easily allow you to extract the files. You data backup files separately to make it easier to restore the reinstallation. IE, copy it to a USB key.

    Many "experts" actually expect to, and do, re - install windows every 6-12 months!  I think it's a bit exaggerated, but they swear by it.

    Once you do your re - install, create a copy of the magnified image
    Install a firewall application (before the windows updates)
    Once you do all updates of windows, create a copy of the magnified image
    After that you re-install all your apps, create another copy of the complete picture.

    In this way, in the future, you have more current points to restore your computer to. It will reduce the time you spend to get back to the current configuration.

    On a 5 year old XP machine, you have probably 512 MB - 1 GB of RAM. You might also consider taking in the shop (or DIY) and bump the RAM up to at least 2 GB or better still max out.  The current versions of the applications use much more memory than they did 5 years ago. Even XP will be since he has been seriously corrected since then.

  • Any transfer on a drive hard new - what is the best way?

    Here's a question simple and straightforward, I hope. I currently have two internal hard drives:

    • C (IDE): OS (Win7), programs
    • F (about three times larger than C, faster, SATA): for most of the multimedia stuff

    (And some external and a dvd burner, which should not be relevant to this question.)

    I ordered a new hard drive, which will take over old job of the F drive. Once I have install and F empty on it, I want to move everything that is currently on C for which is now F and the new C drive I start and run Windows from. (C would also get a new drive letter and would only be used for backup purposes).

    I much prefer this without having to reinstall Windows and all my other programs, and without investing in expensive software of type Ghost I would probably use only once every two years or more. I also prefer not to have to partition F, although I'll do it if necessary.

    What is the best way to do it?

    Windows 7 image and move it to the new hard drive

    The only way to avoid reinstalling programs is in the image of the player. Connect the new drive as a slave (if IDE), then partition the new drive, so it has two partitions (or more if you want) - the last partition being slightly larger, then the amount of data on your current hard drive. Also, make sure that the partition you are moving that Windows 7 is greater, then the current partition is.

    Make now a picture of your current hard drive with either programs below and save it to the last partition on your new drive. If you have the recovery of 100MB partition do not forget to include that. Then restore the image of the partition that you want Windows 7 installed-you put in place the same as long as your current drive, and you may need to remove/change the partitions that you have done.

    Both programs are offered free of charge:

    Reflect disk imaging:
    http://www.Macrium.com/reflectfree.asp

    Paragon Backup & Recovery Free Edition:
    http://www.Paragon-Software.com/home/DB-Express/download.html

    Remove the old hard drive and see if a new start, if it is not:

    Try to repair the Installation of Windows 7

    1. Insert the DVD of Windows 7 and restart your computer
    2 boot from the DVD.
    3. choose your language and click Next.
    4. click on repair your computer, select the operating system you want to repair.
    5. click on the link to repair list system in the System Recovery Options recovery tools.

    More information and a how to guide:
    http://pcsupport.about.com/od/toolsofthetrade/SS/Windows-7-startup-repair.htm

    If this does not solve it:

    1. Insert the DVD of Windows 7 and restart your computer
    2 boot from the DVD. If you are prompted, press any key to start Windows from the installation disc.
    3. choose your language and click Next.
    4. click on repair your computer, select the operating system you want to repair.
    5. Select command prompt and try the following commands (one command might work, or you may need to use several commands according to the exact problem):
     
    Bootrec /fixMBR
    Bootrec /fixBoot
    Bootrec /rebuildBCD

    Note: there is a space before the /.

    Space - increase free hard drive space

    Before taking the free picture of space hard drive if you want.
    The following procedure cleans the files associated with your user account. You can also use Disk Cleanup to clean all the files on your computer.

    1. click the button start, in the search box, type disk cleanup, then click Disk Cleanup.
    2. in the drives list, click the drive you want to clean, and then click OK.
    3. on the Disk Cleanup tab, select the types of files to delete.
    Note: To delete all Points except the most recent system restore - click on "Clean up System Files" and you will get another tab called more than Options. Now click More Options, and then click 'Clean up' under ' System Restore and shadow copies "and then confirm the deletion.
    4. click OK at the bottom of the window cleaning disc and in the message that appears, click on delete files.

    Reduce the amount of space allocated to system restore.

    1. start--> panel--> system and safety--> system
    2. then click on the "System Protection" link located at the top left.
    3. in "system properties? window, click the tab "System Protection".
    4 locate the 'Settings of Protection' box and select / click on the drive letter (usually c :))
    5. now, click the "Configure" button to change the settings to restore "disk space".
    6. move the slider to the left to reduce the amount of disk space, that System Protection can use.
    7. click "Apply" and then the "OK" button after setting the disk space.

    Questions about installing Windows 7?
    FAQ - Frequently Asked Questions from Installation Windows 7 & responses

  • What is the best way to upgrade 1,200 systems from xp to windows 7?

    Looking for upgrade of systems 1200 xp to windows 7, as well as Windows 2000 1800 systems to windows 7.
    Trying to figure out what would be the most cost effective and time efficient means to achieve this great task.

    Your question is the best answer in the Windows IT Pro forum.

    http://social.technet.Microsoft.com/forums/en-us/w7itproinstall/threads

    Tip: your Windows 2000 drives the system (if you plan to use them) will have their scores dropped and re-created / reformatted using Windows XP or a later version of Windows as the Windows 2000 NTFS version on existing hard drives are not compatible with Windows 7.

    Spread also Windows 7 at a small group of users in a small Department / bussiness area, start with a business district who was worried that effect the daily functions of your company. Then work your way to the top.

    A good bad example would be starting to start with payroll, accounts payable / receivable. A good place to start would be a small group of marketing which manages a low sale volumn or small range of products.

    J W Stuart: http://www.pagestart.com

Maybe you are looking for