Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

Search the Tips
Tip Bank > Web Development > Browsers

Browsers - Page 4

Cross Browser Issues
61-80 of 132     Previous     Next
CSS Properties: Display vs. Visibility
by Kurt Cagle
< ...
Make Table Layouts Appear Similar in IE and Netscape
by DevX Pro
I am having trouble getting an ASP page to look the same in Internet Explorer and Netscape. I am using multiple tables because I have different sections to place input fields and drop-down lists on the page. I want to have a straight vertical line down the page with the fields. If I get them to line up in IE and then view the page in Netscape they are not lined up. Can you tell me if it is possible to get the same look in Netscape as IE using the tables? I have tried using width, and so forth. Here's an example: table tr td field1 /td td field2 /td /tr /table table tr td field3 /td td field4 /td tr /table field1 field3 field2 field4
Remove Unsightly Frame Gaps in Netscape
by Ken Cox
When you create an HTML frameset using the FRAMEBORDER="0" attribute, the frames look fine in Internet Explorer. However, there's an unsightly white gap between non-white pages when you view the ...
Apply a DHTML Effect to a Specific Style
by DevX Pro
I have two different styles on my page: "content" and "small". To avoid the "onmouseover..." lines within the tags, I defined the A:Hover line. Now if a user moves the mouse over a link, the text changes to red. The problem is that I want the red onmouseover effect only on the text with the "content" style. For the "small" style, I can't seem to define its own onmouseover color.
Programmatically Control and Interact With IE
by DevX Pro
How can I interact with a running version of Internet Explorer or Netscape? When I say interact, I mean handling or monitoring browser events such as right click or navigate.
Change Button's Destination Depending on Option Clicked
by DevX Pro
I have a menu frame that has a popup menu with many options and four buttons below it. How can I change the buttons' destination links depending on the option that the user makes in the popup menu?
Determine Time on Client Machine
by DevX Pro
How can I get the system time using HTML and JavaScript?
Another Way to Include .css File in a Web Page
by Jai Bardhan
Above IE 4.0, you can use a different syntax for importing the contents of a .css file. The general way is to link to the external .css file. However, when working with IE 4.0 and higher, you also ...
Dynamic Content Using Radio Buttons
by DevX Pro
I wrote JavaScript code that displays different text depending on the radio button clicked. I used innerHTML to display text, which works fine on Internet Explorer 5 but not on Netscape 4.6. What should I do?
Client-Side Data Binding Is IE-Only
by DevX Pro
Designing with JavaScript by Nick Heinle talks about using Internet Explorer's Object tags for simple data binding of CDV databases. Is there a Netscape Embed tag (or other equivalent) that accomplishes the same thing? If not, is there any other way to do cross-browser data binding using JavaScript?
Dynamically Load a Page From a Frame Into Another
by DevX Pro
Is there a way I can load a Web page from the top frame into the bottom frame, when a user clicks on a link in the bottom frame? The page should be dynamic as to load whatever page is loaded in the top frame.
Replace Selected Content
by DevX Pro
How do I replicate the pasteHTML function supported by Internet Explorer in Netscape? Rewriting the layer isn't the problem. The problem is determining the position of the text returned by the getSelection(). For example, how would I allow a user to select a piece of text on the screen and modify it (i.e. make it bold)? If the selected word appears more than once in the text, I can't just find() it.
Real Time Programming: Myths and Reality
by Danny Kalev
The term "real time" has become a buzzword, as in "real time stock quotes" or "real time database queries". However, neither a database-oriented system nor a NYSE stock ticker running on your desktop ...
Determine Position of Object Relative to Page
by DevX Pro
I am using the eventObj.x and eventObj.y to obtain the position of a link when the mouse is over it to determine where to show a help text box. In Netscape and Internet Explorer 4, the eventObj.y returns the number of pixels the object is from the top of the page. Therefore, if it were 50 pixels from the top, it stayed consistent no matter where I scrolled to on the page. But in IE5, it was not working, so I used the alert box to return the value when the mouse moved over the object. If I scrolled on the page so the link object was at the top edge of the visible window, then it returned a low number (2, 3, and so on). If I scrolled down, the number increased. So the position where the text help box appeared changed depending on where the window was scrolled to, instead of appearing next to the link each time. Is this a flaw in IE5, or does IE5 have another way to determine the x and y position relative to the page? In other words, in IE5, it appears that eventObj.y returns the number of pixels that the link is from the top of the visible window, not of the Web page itself.
Nested Quotes and JavaScript
by DevX Pro
I am trying to use document.writeln to write a table onto a floating menu bar. Part of the table cell's events is Java code. When it reaches the semicolons in the code for the table, it thinks it is the end of the line. How can I pass semicolons in document.writeln so JavaScript knows it's not at the end? document.writeln ('
Refresh Part of a Page
by DevX Pro
Is there a way to refresh or redraw part of a screen display using HTML and JavaScript without using frames? I want the top 1/4 of my screen to display constant information and have the bottom 3/4 of the screen be the user-input section, which will refresh or reset the input boxes when all of the displayed boxes have been filled in.
Optimize Pages Containing Numerous JavaScript Functions
by DevX Pro
I have produced a bunch of DHTML library functions that work in a cross-platform environment, down to the point of redefining the layer object in Netscape and writing customized event handlers. Now that I can do virtually anything I want with layers, the sheer amount of code this requires is making my pages amazingly heavy (for example, something that should be about 30 KB has now blown up to about 80 KB). How can I optimize my code so that I can get my page sizes down to a reasonable amount?
Set DIV Clipping Height
by DevX Pro
I am inserting some text into a DIV in Netscape using the .open, write(), and close() methods. At first there is nothing in the DIV, and when I check the clip.height value and .height value, both are 0. Then I insert some text into the DIV and the clip.height value increases to 30, but the .height value remains at 0. The problem is that when I write to the DIV again—this time with a blank string—the clip.height does not reduce; it stays at the higher value. So it is dynamically increasing, but not decreasing.
Track Changes on a Form
by DevX Pro
I have an HTML page that is broken up into two different frames. The left frame acts as a navigation tool. The right frame is the user interface, which consists of a form with different input types. I want to track when a field has changed so I can prompt users if they try to navigate away from this page using the left frame. I can track the changes by using an onchange event, but I can't seem to trap when they leave the page. I have tried the using the onblur for the page and the window, but I can't seem to get it right.
Registering DLLs in DHTML Applications
by DevX Pro
I've just started using DHTML in Visual Basic 6.0 and have encountered a few glitches. When using ActiveX DHTML, where does the compiled DLL file have to be stored (filed) so that the HTML file that is subsequently produced can use it? When registering the DLL file produced in a program such as VB 6.0 ActiveX DHTML using Regsvr32.exe, where do you register the DLL file? How can I register the file so that the HTML file can be used over the Internet, or within an intranet?
61-80 of 132     Previous     Next
Thanks for your registration, follow us on our social networks to keep up-to-date