User Name Password Register
DaniWeb IT Discussion Community
All
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
Reply
Join Date: May 2006
Posts: 56
Reputation: kaushik259106 is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
kaushik259106 kaushik259106 is offline Offline
Junior Poster in Training

Any pointer on how the developer made this

  #1  
Apr 14th, 2008
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..
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jan 2007
Posts: 2,433
Reputation: MidiMagic is on a distinguished road 
Rep Power: 6
Solved Threads: 99
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Nearly a Posting Maven

Re: Any pointer on how the developer made this

  #2  
Apr 14th, 2008
It is somehow activating the security alert system - or doing a good job of faking it.
Daylight-saving time uses more gasoline
Reply With Quote  
Join Date: Jul 2006
Location: Deptford, London
Posts: 916
Reputation: MattEvans will become famous soon enough MattEvans will become famous soon enough 
Rep Power: 5
Solved Threads: 46
Moderator
Featured Poster
MattEvans's Avatar
MattEvans MattEvans is offline Offline
Posting Shark

Re: Any pointer on how the developer made this

  #3  
Apr 14th, 2008
Yeah, it's just faking it. The little yellow alert region is simply a CSS styled div element. It works on all browsers, and looks quite out-of-place in Opera .
If it only works in Internet Explorer; it doesn't work.
Reply With Quote  
Join Date: May 2006
Posts: 56
Reputation: kaushik259106 is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
kaushik259106 kaushik259106 is offline Offline
Junior Poster in Training

Re: Any pointer on how the developer made this

  #4  
Apr 15th, 2008
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..
Reply With Quote  
Join Date: Oct 2005
Posts: 236
Reputation: Inny is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 5
Inny's Avatar
Inny Inny is offline Offline
Posting Whiz in Training

Re: Any pointer on how the developer made this

  #5  
Apr 15th, 2008
Hes just using css to style a div he inserted after his body tag

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
Reply With Quote  
Join Date: Mar 2007
Location: georgia
Posts: 55
Reputation: hunkychop is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 4
hunkychop's Avatar
hunkychop hunkychop is offline Offline
Junior Poster in Training

Re: Any pointer on how the developer made this

  #6  
Apr 16th, 2008
it is a div with 100% width that drops down using a setInterval loop.

it is probably put in place by server side scripts
Last edited by hunkychop : Apr 16th, 2008 at 4:56 pm.
toast
Reply With Quote  
Join Date: Nov 2006
Location: South Wales
Posts: 159
Reputation: phper is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 9
phper's Avatar
phper phper is offline Offline
Junior Poster

Re: Any pointer on how the developer made this

  #7  
Apr 16th, 2008
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
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb JavaScript / DHTML / AJAX Marketplace
Thread Tools Display Modes

Other Threads in the JavaScript / DHTML / AJAX Forum

All times are GMT -4. The time now is 10:29 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC