HTML, JavaScript And CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingHTML, JavaScript And CSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old October 24th, 2004, 05:58 PM
unicorn unicorn is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Northern Ireland
Posts: 63 unicorn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 47 m 50 sec
Reputation Power: 6
status bar blank?

(Shadow----yip plenty of Irish cream..)
I wish to have the status bar blank when all the
(<a href="...) links on a page are hovered over or clicked..any suggestions ?, without having to add ( onmouseover="window.status=' '; return true" ) and the same with onclick in every link. Is there a css style command to do this simply.? (I know u know this already in ur head Shadow!)

Reply With Quote
  #2  
Old October 24th, 2004, 06:45 PM
shamrog12's Avatar
shamrog12 shamrog12 is offline
Newton's Apple Wizard
ASP Free Intermediate (1500 - 1999 posts)
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 1,661 shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Weeks 2 Days 2 h 39 m 22 sec
Reputation Power: 34
Send a message via AIM to shamrog12
The only interaction between CSS and the status bar that I am aware of is the ability to change the font in the status-bar in CSS2. I do not believe that you'll be able to avoid using javascript to manipulate the status bar.
__________________
If you found a post of mine helpful, please click on the on my post to add to my reputation.


Reply With Quote
  #3  
Old October 25th, 2004, 03:43 AM
Shadow Wizard's Avatar
Shadow Wizard Shadow Wizard is offline
Moderator From Beyond
ASP Free God 46th Plane (27500 - 27999 posts)
 
Join Date: Sep 2004
Location: Israel
Posts: 27,628 Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)  Folding Points: 372965 Folding Title: Super Ultimate Folder - Level 1Folding Points: 372965 Folding Title: Super Ultimate Folder - Level 1Folding Points: 372965 Folding Title: Super Ultimate Folder - Level 1Folding Points: 372965 Folding Title: Super Ultimate Folder - Level 1Folding Points: 372965 Folding Title: Super Ultimate Folder - Level 1Folding Points: 372965 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Months 2 Weeks 2 h 23 m 57 sec
Reputation Power: 1902
well, css by defintion is used only for style while you need to dynamically change some value. so you can't avoid using client side code.
however, such code can make it much easier:
Code:
 <html>
 <head>
 <title>eliminate status example</title>
 <script language="javascript">
   var blnChangeStatus=false;
   var strStatusText="";
   var iTimer=0;
   
   window.onload = function()
   {
    //set global value:
    for (var i=0; i<document.links.length; i++)
    {
 	  var curLink=document.links[i];
 	  curLink.onmouseover=function ()
 	  {
 		 blnChangeStatus=true;
 	  }
 	  curLink.onmouseout=function ()
 	  {
 		 blnChangeStatus=false;
 	  }
    }
   }
   
   function GlobalTimer()
   {
    //check if need to change status text:
    if (!blnChangeStatus)
 	  return false;
    
    //change status:
    window.status = strStatusText;
   }
   
   iTimer = setInterval("GlobalTimer();", 50);
 </script>
 </head>
 <body>
 <a href="page1.asp">page1</a><br />
 <a href="page2.asp">page2</a><br />
 <a href="page3.asp">page3</a><br />
 </body>
 </html>
 

Reply With Quote
  #4  
Old October 26th, 2004, 09:28 AM
unicorn unicorn is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Northern Ireland
Posts: 63 unicorn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 47 m 50 sec
Reputation Power: 6
status bar blank?

OK guys...whats ur view on the browser "polling" the server all the time to see if the status bar needs to be updated?...is it not a lot of traffic to/from the server which is not really nesessary?....only expressing my thoughts in print ......what about disabling or hidding the status bar completely..I dont need it for my app so far !......is that easy?.......I just dont want the users to see the file names, struture and what data is passed to the server.....I also think it distracts the user a bit when they move the mouse onto a link and see the text appear, they tend to read it even if it doesnt mean anything to them.....!!.......>>>

Reply With Quote
  #5  
Old October 26th, 2004, 10:38 AM
shamrog12's Avatar
shamrog12 shamrog12 is offline
Newton's Apple Wizard
ASP Free Intermediate (1500 - 1999 posts)
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 1,661 shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Weeks 2 Days 2 h 39 m 22 sec
Reputation Power: 34
Send a message via AIM to shamrog12
You can't hide the status bar from everyone. Most browsers won't let you disable a feature on the fly so you'd have to use a javascript popup for a new window and disable the status bar in that new window. However, if that happened to me I'd notice and I wuold go and simply check the pulldown item that says "Status Bar" and boom, it re-appears. You won't be able to be this secretive successfully without having to put the user through hoops to get them into a browser environment that makes you comfortable. I know you have your reasons for not wanting people to see the URL but you should just let it happen. Unless you made everything a javascript onclick even so that the URLs were all a href="javascript:;" but that would keep you out of search engines that look at who you link to.

I guess what I'm saying is, so what if they read it.

Reply With Quote
  #6  
Old October 26th, 2004, 11:29 AM
unicorn unicorn is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Northern Ireland
Posts: 63 unicorn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 47 m 50 sec
Reputation Power: 6
status bar blank

OK Shamrog..many thanks for ur thoughts...this app is for the works' intranet only, so no search engines will see it, if that gives u an idea, like that one to make all links point to a javscript function...yeh I suppose that is a lot of coding...will think about that though.....cul..>>>

Reply With Quote
  #7  
Old October 26th, 2004, 11:32 AM
shamrog12's Avatar
shamrog12 shamrog12 is offline
Newton's Apple Wizard
ASP Free Intermediate (1500 - 1999 posts)
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 1,661 shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Weeks 2 Days 2 h 39 m 22 sec
Reputation Power: 34
Send a message via AIM to shamrog12
yes it is unnecessary coding. You might just want to open your app in a new window (javascript popup) and tell it to not set the status bar.

Reply With Quote
  #8  
Old October 26th, 2004, 12:29 PM
Shadow Wizard's Avatar
Shadow Wizard Shadow Wizard is offline
Moderator From Beyond
ASP Free God 46th Plane (27500 - 27999 posts)
 
Join Date: Sep 2004
Location: Israel
Posts: 27,628 Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)  Folding Points: 372965 Folding Title: Super Ultimate Folder - Level 1Folding Points: 372965 Folding Title: Super Ultimate Folder - Level 1Folding Points: 372965 Folding Title: Super Ultimate Folder - Level 1Folding Points: 372965 Folding Title: Super Ultimate Folder - Level 1Folding Points: 372965 Folding Title: Super Ultimate Folder - Level 1Folding Points: 372965 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Months 2 Weeks 2 h 23 m 57 sec
Reputation Power: 1902
same ideas here. no magic trick this time...

Reply With Quote
  #9  
Old October 26th, 2004, 12:37 PM
shamrog12's Avatar
shamrog12 shamrog12 is offline
Newton's Apple Wizard
ASP Free Intermediate (1500 - 1999 posts)
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 1,661 shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Weeks 2 Days 2 h 39 m 22 sec
Reputation Power: 34
Send a message via AIM to shamrog12
just out of sheer curiosity, what is the concern about having users of the intranet see the window status?

Reply With Quote
  #10  
Old October 27th, 2004, 05:15 AM
unicorn unicorn is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Northern Ireland
Posts: 63 unicorn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 47 m 50 sec
Reputation Power: 6
status bar blank

No real concern about the users seeing the bar, just thought of hiding all unecessary code . Thought it was an easy matter to hide it thats all.....I give up on this one then, thanks chaps...I've more pressing probs....which I'll start in a new thread...one is how to "talk" to other windows programs from the my app, and how to deal with pictures!!...cul..>>

Reply With Quote
  #11  
Old October 27th, 2004, 05:36 AM
Shadow Wizard's Avatar
Shadow Wizard Shadow Wizard is offline
Moderator From Beyond
ASP Free God 46th Plane (27500 - 27999 posts)
 
Join Date: Sep 2004
Location: Israel
Posts: 27,628 Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)  Folding Points: 372965 Folding Title: Super Ultimate Folder - Level 1Folding Points: 372965 Folding Title: Super Ultimate Folder - Level 1Folding Points: 372965 Folding Title: Super Ultimate Folder - Level 1Folding Points: 372965 Folding Title: Super Ultimate Folder - Level 1Folding Points: 372965 Folding Title: Super Ultimate Folder - Level 1Folding Points: 372965 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Months 2 Weeks 2 h 23 m 57 sec
Reputation Power: 1902
talk with other programs?? looks to me that you need to build Windows Application, not ASP application. ASP was never meant, and can't actually, talk with other windows programs. it's meant only to create web pages.

Reply With Quote
  #12  
Old October 27th, 2004, 07:27 AM
unicorn unicorn is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Northern Ireland
Posts: 63 unicorn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 47 m 50 sec
Reputation Power: 6
status bar blank

OH Sh***.!!....now I find this out....Yeh..I have a windows program that I need to talk to and extract data from....You see I created this app on EXCEL (working OK at present) and thought Id make it more efficient and 'modern' by creating it on the intranet !.....as each user has a full copy of the excel version separately and if i need to make a change, i have to do in each copy, whereas on the web i only have to change one page. It also means each user has effectively just a 'front end' with the database etc in a central position, not the whole app at each users' PC.......ummmm...does this mean a complete re-think?, before I go any further into it........really disapointing news......as it is 'looking' well so far ........(I need to go and take a pill and a have a drink now !!!)..cul...>>>>

Reply With Quote
  #13  
Old October 27th, 2004, 09:46 AM
Shadow Wizard's Avatar
Shadow Wizard Shadow Wizard is offline
Moderator From Beyond
ASP Free God 46th Plane (27500 - 27999 posts)
 
Join Date: Sep 2004
Location: Israel
Posts: 27,628 Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)  Folding Points: 372965 Folding Title: Super Ultimate Folder - Level 1Folding Points: 372965 Folding Title: Super Ultimate Folder - Level 1Folding Points: 372965 Folding Title: Super Ultimate Folder - Level 1Folding Points: 372965 Folding Title: Super Ultimate Folder - Level 1Folding Points: 372965 Folding Title: Super Ultimate Folder - Level 1Folding Points: 372965 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Months 2 Weeks 2 h 23 m 57 sec
Reputation Power: 1902
cheer up... there are ways to go around it. not very simple, but it is possible.
for example you can have text file that will be used as "interface" between ASP and the other program, kind of "bridge"... in this text file both ASP and other windows programs will put any data they wish to share, and its location will be public - for example shared folder in the network. sounds possible?

Reply With Quote
  #14  
Old October 27th, 2004, 10:43 AM