Solved

issue with z-index and jquery show

Posted on 2013-01-18
3
324 Views
Last Modified: 2013-01-18
Can somebody take a look at the logo top left of this page.

I'm having a bit of a nightmare with the z-indexes not kicking in until the images are completely shown which means the image being on top of the logo until this is the case.

Any ideas?

http://www.spaceonwhite.co.uk/
0
Comment
Question by:scm0sml
  • 2
3 Comments
 
LVL 25

Accepted Solution

by:
Kyle Hamilton earned 500 total points
ID: 38795179
you can give the div that holds the logo a higher z-index:

<div style="position: absolute;z-index: 9999;">
                    <img src="graphics/logo.png" id="ctl00_Img1" alt="Space on White logo" title="Space on White Cardiff">
                </div>

Open in new window


I put it inline here, but you should give that div a class, and put the rules in your stylesheet.
0
 

Author Closing Comment

by:scm0sml
ID: 38795197
I was being an idiot good spot!
0
 
LVL 25

Expert Comment

by:Kyle Hamilton
ID: 38795204
:)
cheers.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now