•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 374,006 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,848 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 599 | Replies: 6
![]() |
•
•
Join Date: May 2006
Posts: 56
Reputation:
Rep Power: 3
Solved Threads: 0
Guys check this site.. http://symbian.mobilethemes.com/down...info/24346.jsp
If you are not logged in.. it gives a IE tool bar saying "You are not logged in."similar like the ActiveX warning of IE..
Any idea how this was done..
If you are not logged in.. it gives a IE tool bar saying "You are not logged in."similar like the ActiveX warning of IE..
Any idea how this was done..
•
•
Join Date: Jul 2006
Location: Deptford, London
Posts: 916
Reputation:
Rep Power: 5
Solved Threads: 46
•
•
Join Date: May 2006
Posts: 56
Reputation:
Rep Power: 3
Solved Threads: 0
hmmm.. seems a nice trick if you want to show some alert to your website user.. no idea how he did that.. must be calling some "windows." function..
Hes just using css to style a div he inserted after his body tag
css is
html for the divs is
css is
#info
{
width: 100%;
overflow: hidden;
position: absolute;
top:0px;
z-index:2;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
font-weight: normal;
}
#infobar a, #infobar a:link, #infobar a:visited, #infobar a:active
{
display: block;
float: left;
width:100%;
clear: both;
color: InfoText;
font-family: tahoma;
font-size: 11px;
background: InfoBackground url('http://www.mobilethemes.com/images/icon_warning.gif') no-repeat fixed .3em .3em;
padding: .45em .3em .45em 2em;
border-bottom: .16em outset;
text-decoration: none;
cursor: default;
}
#infobar a:hover
{
font-family: tahoma;
font-size: 11px;
color: HighlightText;
background: Highlight url('http://www.mobilethemes.com/images/icon_warning_hover.gif') no-repeat fixed .3em .3em;
}
td,th {
font-family: tahoma;
font-size: 11px;
color: #838282;
margin:0px;
padding:0px;
}html for the divs is
<body> <div id="info"><div id="infobar"><a href="http://forum.mobilethemes.com/register.phtml">You are not logged in. You cannot download or upload any items unless you have an account. Click here to sign up - it's free! If you already have an account, enter your login details in the boxes below.</a></div></div>
Always carry a flagon of whiskey in case of snakebite and furthermore always carry a small snake.
W. C. Fields
W. C. Fields
Absolutely positioned DIV element which changes colour on mouseover.
If you find my post useful please add to my reputation!! Thanks!
ajtrichards web solutions
http://www.ajtrichards.co.uk
ajtrichards web solutions
http://www.ajtrichards.co.uk
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
- Previous Thread: Iframe / firefox issue
- Next Thread: Scope issue with javascript.



.
Linear Mode