HTML CODE Help! at DVinfo.net

Go Back   DV Info Net > And Now, For Something Completely Different... > The TOTEM Poll: Totally Off Topic, Everything Media

The TOTEM Poll: Totally Off Topic, Everything Media
Let's talk about anything media related.


Reply
 
Thread Tools Search this Thread
Old April 8th, 2005, 01:26 PM   #1
Regular Crew
 
Join Date: Aug 2002
Location: Atlanta, Georgia
Posts: 1,892
HTML CODE Help!

Is there a line of HTML code that can be clicked to make a page/screen refresh instead of having someone click the refresh button in the browser? Thanks.
James Emory is offline   Reply With Quote
Old April 8th, 2005, 02:13 PM   #2
Trustee
 
Join Date: Jun 2002
Location: Clermont, FL
Posts: 1,520
Look under Reload From A User's Click on the following page:

http://www.htmlgoodies.com/tutorials...le.php/3479551
__________________
Steven Gotz
http://www.stevengotz.com
Steven Gotz is offline   Reply With Quote
Old April 8th, 2005, 02:27 PM   #3
Trustee
 
Join Date: Dec 2002
Location: Orlando, FL
Posts: 1,315
You can also do what CNN does. They auto-refresh the page every 1800 seconds. Or whatever interval you prefer.

Up where your meta tags go, put:

<meta http-equiv="refresh" content="1800">
Imran Zaidi is offline   Reply With Quote
Old April 8th, 2005, 02:51 PM   #4
Regular Crew
 
Join Date: Aug 2002
Location: Atlanta, Georgia
Posts: 1,892
Page Refreshing

Thanks guys. That's exactly what I needed and it's working great!!
James Emory is offline   Reply With Quote
Old April 23rd, 2005, 03:50 PM   #5
Regular Crew
 
Join Date: Aug 2002
Location: Atlanta, Georgia
Posts: 1,892
New Window - Hover Only

I looked all over that site and couldn't find a way to make a new window stay open just while you hover over a link or image. There are several very useful tutorials about new windows which I use. Does anyone know the code or know where the tutorial on that site is to make a new window open only while your mouse hovers over the link or image? Thanks.
James Emory is offline   Reply With Quote
Old April 24th, 2005, 10:33 AM   #6
Major Player
 
Join Date: Nov 2004
Location: Venice, FL
Posts: 850
To get a full window you would have to use Javascript, and I don't know if it can be done. What I do is cheat. I often just want some "helper text" to display, so I set the text into an IMG tag with "ALT=" and it does the trick fine for my needs. Mouse over the image and the text pops up.

HTH
Bob Costa is offline   Reply With Quote
Old April 24th, 2005, 11:05 AM   #7
Regular Crew
 
Join Date: Aug 2002
Location: Atlanta, Georgia
Posts: 1,892
New Window

Thanks for the info John. Yes, I am familiar with the ALT= command and it would probably be the easiest solution. I would probably use it but the text box doesn't stay open the whole time the mouse hovers over the link or image. Do you know a way to make the text box stay open until the mouse moves? I have found at least 5 ways to open a new window with HTML or Java combined, with a click or rollover, with or without window controls, timed to auto close, etc.. but no damn way to make it close with a mouseout. I can't figure out why that was left off of that HTML site.

This is what I am able to do with a mouseover (rollover/hover). Just cut & paste it into an .html document to see it work.

The Code
<a href=" " onmouseover="window=window.open('http://www.dvinfo.net/conf','newwindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizabl e=no,width=440,height=400,left=300,top=20'); return false;">Rollover</a>

New Window Codes Tutorials - just a couple of several

Tutorial 1
http://www.htmlgoodies.com/beyond/ja...le.php/3471221

Tutorial 2 - The Rollover
http://www.htmlgoodies.com/beyond/ja...le.php/3471271
James Emory is offline   Reply With Quote
Old April 24th, 2005, 07:47 PM   #8
Trustee
 
Join Date: Dec 2002
Location: Orlando, FL
Posts: 1,315
Rather than popping windows since a lot of popup blockers will kill them before you have a chance to show them, try something like this...

http://www.dynamicdrive.com/dynamici...agetooltip.htm

Should be cross-browser, and cross-platform, and should also perform much more reliably and smoothly than trying to pop and kill a popup window. It's sort of like an ALT tag on steroids.

Also, you might want to keep a bookmark for this site - it's been a great resource to me for many years.
Imran Zaidi is offline   Reply With Quote
Old April 24th, 2005, 08:23 PM   #9
Regular Crew
 
Join Date: Aug 2002
Location: Atlanta, Georgia
Posts: 1,892
The application that I want is user induced. If the user rolls over a link, would a pop up blocker stop it. I'm not talking about windows opening automatically like a typical pop up. I will definitely take a look at the code from that site. Thanks.
James Emory is offline   Reply With Quote
Old April 24th, 2005, 11:47 PM   #10
Trustee
 
Join Date: Dec 2002
Location: Orlando, FL
Posts: 1,315
Usually the only type of javascript popup you can get away with is one triggered onClick - universally agreed by all that it's an intentional action requesting for the window to pop. You'll find onLoad and onMouseover or onMouseout type windows are frequently blocked by popup blockers. Mostly because the world of porn and deceptive advertising is where these types of events are used to pop windows.
Imran Zaidi is offline   Reply With Quote
Old April 25th, 2005, 10:37 AM   #11
Trustee
 
Join Date: Jul 2003
Location: Ohio
Posts: 1,152
Don't use the image alt tag to generate a text pop up. Only Internet Explorer (incorrectly) shows the alt text when the mouse hovers over an image. The proper tag to use is title="Whatever title you want to pop up". If you place the title tag before the alt tag Internet Explorer (and other browsers) will show the title text when the mouse pointer hovers over the image.

James, a pop up generated by an onClick event should work fine. The browser I use (Netscape) has a popup blocker built in, but whenever I click a link that generates a pop up it works fine. Pop up blockers couldn't block those kinds because they are used for so many functions on web sites, such as playing videos, viewing photos, etc.
__________________
Christopher Lefchik :: My Spot on the WWW

:: Got questions? Need answers? Try a DV Info search! ::
Christopher Lefchik is offline   Reply With Quote
Old April 25th, 2005, 10:42 AM   #12
Regular Crew
 
Join Date: Aug 2002
Location: Atlanta, Georgia
Posts: 1,892
I don't understand Chris. I use Internet Explorer and ALT tags work just fine. Are you saying to use the text tag and then the ALT tag right behind it or just the text tag by itself? If so, why? Thanks.
James Emory is offline   Reply With Quote
Old April 25th, 2005, 10:51 AM   #13
Trustee
 
Join Date: Jul 2003
Location: Ohio
Posts: 1,152
James,

As I said, only Internet Explorer shows the alt text, even though that wasn't the intention of the alt tag. Other browsers follow standards and don't pop up the alt text. If you wish to display text in a pop up tool tip when a user mouses over an image, the correct tag to use is title="Your text". As I said, if you wish to use the title tag make sure to put it before the alt tag, otherwise IE will still pop up the alt text.

And a little trick I read, which you can use if you don't want Internet Explorer popping up your alt tag text, is to put an empty title tag before your alt tag.
__________________
Christopher Lefchik :: My Spot on the WWW

:: Got questions? Need answers? Try a DV Info search! ::
Christopher Lefchik is offline   Reply With Quote
Old April 25th, 2005, 10:53 AM   #14
Trustee
 
Join Date: Jul 2003
Location: Ohio
Posts: 1,152
You should probably still use an alt tag, just in case an image doesn't load (in which case it will show the alt text). Also, it may be needed for people with disabilities who use software that reads web pages to them.
__________________
Christopher Lefchik :: My Spot on the WWW

:: Got questions? Need answers? Try a DV Info search! ::
Christopher Lefchik is offline   Reply With Quote
Old April 25th, 2005, 11:05 AM   #15
Regular Crew
 
Join Date: Aug 2002
Location: Atlanta, Georgia
Posts: 1,892
Okay. I have already used the ALT code and just tested the title code. Both display text but both also automatically disappear in about 3 seconds which I stated about the ALT code in a post above. Do you know a way to make the text box stay there the entire time the mouse hovers over the image or link. That's the effect I want no matter what code I use. Thanks.
James Emory is offline   Reply
Reply

DV Info Net refers all where-to-buy and where-to-rent questions exclusively to these trusted full line dealers and rental houses...

Professional Video
(800) 833-4801
Portland, OR

B&H Photo Video
(866) 521-7381
New York, NY

Z.G.C.
(973) 335-4460
Mountain Lakes, NJ

Abel Cine Tech
(888) 700-4416
N.Y. NY & L.A. CA

Precision Camera
(800) 677-1023
Austin, TX

DV Info Net also encourages you to support local businesses and buy from an authorized dealer in your neighborhood.
  You are here: DV Info Net > And Now, For Something Completely Different... > The TOTEM Poll: Totally Off Topic, Everything Media

Thread Tools Search this Thread
Search this Thread:

Advanced Search

 



Google
 

All times are GMT -6. The time now is 11:01 PM.


DV Info Net -- Real Names, Real People, Real Info!
1998-2017 The Digital Video Information Network