ASP / VB Or CSS Check Browser Resolution

Can anyone advise the best way for me to check a screen resolution using any of the above technologies, i am creating a dropdown menu which is populated by a database with rollovers and suchlike, and i was planning on using showhide layer function with javascript however when i resize the browser at a certain point the layer get at most 30 pixels to small, which looks bad. Code:

View Replies


ADVERTISEMENT

Browser Check Using ASP

I currently use a javascript routine to check what browser the user is using, but I'm trying to replace my client side code for server side as much as I can.

Does anybody have a good (and tight) routine to check what the browser is,eg IE, Netscape, FireFox, Safari, etc?

View Replies View Related

Check If Browser Is NOT I.E.

On a page optimised for IE, I'd like to check if the browser type is other than IE, so I can direct them to another page. How can I modify the code below to redirect to indextext.asp if they aren't using IE? I've tried changing the = for <>, but get a syntax error.

USER_AGENT = Request.ServerVariables("HTTP_USER_AGENT")
IS_IE = InStr(USER_AGENT,"MSIE")
if IS_IE then
response.redirect "indextext.asp"
end if

View Replies View Related

Check If The Browser Is Able To Accept Cookies Or Not!

There are many articles and script samples that provide a work around to this problem by redirecting the visitor to another page that does the testing and bringing him back to the main page with the cookie test value in a querystring.
But that is too long a procedure. Is there no instant cookie test solution, either through components (not expensive ones) or through Javascript etc.?

View Replies View Related

Resolution

While coding in VBA,I had been receiving script errors when attempting to utilize the online help from within the VBA IDE.
After fiddling with security settings and much searching for KB Articles as well as Googling newsgroups archives all to no avail, I finally discovered the resolution to this issue.

From within Internet Explorer, under "Tools" and "Internet Options" and "General", run the "Delete Files" under the "Temporary Internet Files" section.

For those of you who have ever experienced the Internet Explorer problem whereby "View" and "Source" does nothing, the above should resolve that issue as well.

View Replies View Related

Get JPG Resolution In ASP

I am using the File System Object to get a list of photo through a specified path :

Dim fso, ffolder, ffile, fc, fproperity, strOut, strPic
Set fso = CreateObject("Scripting.FileSystemObject")
Set ffolder = fso.GetFolder(folderspec)
Set fc = ffolder.Files

For Each ffile in fc
intCount = intCount + 1
strPic = strPhotoPath & ffile.name
Set fproperity = fso.GetFile(strPic)
.....
Next

I can display all photos without any problem, but I cannot get the
resolution(height and width) property of each of the photo. Is there any way
in doing this?

View Replies View Related

Screen Resolution

I'm trying to replace a JavaScript that checks screen resolutions with an ASP dito
I've tried the HTTP_UA_PIXELS (servervariables) but it doesn't seem to work. I haven't found how to do this anywhere and I guess it's simple but please tell me how to do this

View Replies View Related

Screen Resolution

Is it possible to determine a user's screen resolution?

View Replies View Related

Screen Resolution

what i need to do is when someone hits my site, it must detect what that person's screen resolution is and according to that include a specific navigation.

View Replies View Related

Detecting Resolution

I have a page with a pop up window for a 800x600 resolution. But people using a different resolution will not benefit. So is there an asp script to detect what resolution people are using. And by detecting this it will alter the pop up screen size. Get what i mean?

View Replies View Related

Screen Resolution In Global.asa

I use a little asp script to get some site statistics ... essentially logging each session into a database using global.asa.

How do I capture the screen resolution in this setup ?

I know how to get the screen resolution in JavaScript ... but how do I combine javascript and asp within global.asa ? Or is there another way in asp to get the screen resolution ?

View Replies View Related

Screen Resolution Strategy...

I'd like to hear your opinions about screen resolution strategy...

Actually, we have sites which consist a set of pages...

If I decide to use code for detection screen resolution like this:

<script type="text/javascript">
var wid = screen.width; //Get the screen width
var hite = screen.height; //Get the screen height

var qs = "?width="+wid+"&height="+hite; //Create a querystring

self.location.href = "yourASPpage.asp"+qs; //Redirect to the ASP page with the Width and Height as querystring values
</script> Code:

View Replies View Related

Screen Resolution Assign To Asp

I'm retrieving the screen resoltion with javascript code, but i can't assign the correct value to asp. the response.write is displaying zero (0) for screen res., although when i do a document.write in the javascript part, then my screen res. is 1004 ...

View Replies View Related

Auto Adjust Resolution

how to auto adjust resolution of web page so that it gets adjusted on every resolution . like my website gets open perfectly on my pc but when I tried it on some other pc which had changed resolution the web page was very such shifted to left side which was looking bad. how to auto adjust resolution of web page?

View Replies View Related

Onload Resolution Problem

What I'm trying to do is, after a user has been validated, I want the form to load to the appropriate resolution for the user. Code:

View Replies View Related

Modify Asp Page According To Monitor Resolution.

I created an asp page it looks different when looked from an 1024x768 than it looked on 800x600 resolution. how to control this?

View Replies View Related

Web Browser

I have a simple ms access database front ended with simple asp pages using ms front page. I used the wizards to put it all together and I can send data easily enough using forms. I can recall the data using the data base wizards but I can't seem to design it to update the data once it's been submited. I've played around using sql update statements and modifying pages... but I gave up in the end.
how I can design an update page using ms front page??? It doesn't have to be fancy or complex... I'll work on making it pretty later.

View Replies View Related

How To : Web Browser

I have a website with a default webpage having an image. I am also having four(4) images.
I'd like when the user closes the browser and reopen it, it must load a new image.

e.g. The User open the browser for the first time - Loads Image1.
The User open the browser for the second time - Loads Image2.
The User open the browser for the third time - Loads Image3.
The User open the browser for the fourth time - Loads Image4.

The User open the browser for the first time - Loads Image1.

How do I go about doing that?

View Replies View Related

ASP Browser

I know I can do this using JS but can I do it using Vbscript? I want to check if a browser is NS4 or lower and if so to display a certain stylesheet. If another other browser then display an alternative (more feature rich) stylesheet

View Replies View Related

Browser

is there any way to know browser cookies are disabled and is there any way enable the cookies from asp code.

View Replies View Related

IE Browser

Is there a way to tell IE not to display URL links when a user hovers over a link?

View Replies View Related

Get IE Browser

in ASP Application can we get the application page by entering a single word in browser?
more clearly. see i have my application in www root. called "test" folder.

now if i am entering only "test" in internet explorer browser, how can it will take fist page of my application. my first page of appliation is "login.asp" from test folder?
please tell me how to implement it in ASP?send me the code.

View Replies View Related

Browser Statusbar

How can I get text to remain on the Browser's statusbar?
For example, if I'm saving data to a DB Table after a user
clicks a Button in the ASP page, I want the statusbar to
show something like "Save Successful" or "Save Failed" so
they know something happened.

Right now, I'm trying to use the windows.status property,
but it just flashes real quickly in the statusbar and
then "Done" is displayed.

View Replies View Related

Browser Detection & CSS

I have just uploaded my website and it looks fine in IE, but awful in Mozilla. I need to load a different CSS file according to what browser a user has. Does anyone have any code that will detect browsers and versions?

View Replies View Related

Asp Site As Web Browser

anyone knows a VBScript that acts as a webbrowser? I am
behind a firewall and my local machine is not visible to the internet,
but I have a access to some webspace with asp VBScript. With the right
script I could tunnel pages and sites from my local machine

View Replies View Related

ASP Function Browser

Does anyone know how can I get Visual Studio to show a classview-like
function browser for my asp files? (For VBScript functions.) It would be
enough if it showed the functions in the asp file I'm working on, even
better if it showed all the functions in all the .asp and .inc files in a
project.

View Replies View Related

Toolbar - Less Browser

I'm designing a small web application which is a table displaying live data
which updates every minute or so. This app is very small and will stay open
on a client PC's pretty much all day. So I was wondering if it is possible
to display it in a browser , without the IE toolbars, just like a fixed
dialog.

Am I making any sense ;-) ?Any ideas?

View Replies View Related

Browser Plug-in

We are trying to record browser information when a customer comes to our
site. I have been able to get most basic browser information using both asp
and asp.net. The only thing I’m missing is the ability to detect plug-ins.
Does anyone know how I can access the plug-in collection in IE? I have not
found any clear way of doing it on the internet I’m starting to think I am
headed down the wrong path. Maybe IE doesn‘t call it a plug-in collection?

View Replies View Related

Browser (and Other) Caching

I have a dynamic website system that my clients use to change their webpage
conten online. Sometimes the new change isn't visible right away to a
browser. I have the following in every webpage's <HEAD> section:

<META HTTP-EQUIV="EXPIRES" CONTENT="0">

which on previous investigation was supposed to be a solution for this. All
I want is a definitive solution so that when a browser makes a call to my
server for one of my pages, everything along the line that has a cached copy
of the page is going to say "Aha! The browser wants the latest version of
this page! I'm going to pass this request up the line to see if their is a
more recent version instead of sending it my cached copy". (Yup, that is how
browsers and ISPs speak to each other). What do I have to do to my webpages
to ensure this happens? At the same time, I don't want it to be getting the
page all the way from the server if the page content hasn't changed. In
other words, I just want the cacheing to work properly!

Sorry if this isn't an explicit ASP question but no one in the HTML groups
I've tried has any idea what I'm talking about and I'm hoping that those who
frequent this room will have a better handle on the whole
client/server/caching problem and the solution!

View Replies View Related

Virtual Browser

I have heard there is something called a 'virtual browser' which allows me
to check asp and html output on the complete range of browsers without
having to download each browser and version (side by side).I did a google
search and see a variety of links but nothing conclusive.
Is there a standard product experienced asp developers are using.can you
point me towards it?What are the limitations and challenges in using this product?

View Replies View Related

Cross Browser

My code works in IE but not in Netscape. Can someone let me know what should be done in order to view the javascript function also in Netscape. Thanks.
Script:

Quote: <script language="javascript">
function showurl(v){
var layers = document.all.tags("DIV");
layers['show'].style.visibility=v;
}
</script>
Form:

Quote: <input type="radio" name="check1" value="1" onclick="showurl('visible')"> View all Links
<div id="show" style="visibility: hidden;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href='http://www.myurl.com'
target="_blank">www.myurl.com</a><br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href='http://www.someurl.com'
target="_blank">www.someurl.com</a>
</div>

View Replies View Related

ASP And Mac Safari Browser

Anyone ever experience problems with Apples Safari Browser and ASP scripts? I have a user who keeps sending us feedback stating that Safari does not work on our site, but his Internet Explorer works just fine. He kept getting this error:

Microsoft VBScript runtime error '800a000d'

Type mismatch: 'CLng'

Now the code works perfect in all other browsers. I'm curious why Safari isn't working with ASP. Since all of the code is processed on the server, it seems odd that the browser would have specific issues with code.
I'm not looking for help with code, just any input on whether any one has experienced problems viewing ASP scripts using Safari browser.

View Replies View Related

Browser Redirection

I have created a repository for training and reference files. The management would like to see reports regarding who is using what files. To do that I am sending the user to a page (OpenDocument.asp) with the URL in the querystring (?URL=blabla.asp). A database is then opened so the rep is logged and then they are redirected to the URL in the querystring.

The problem- When the browser redirects through a querystring it substitutes / with %5C. Once that happens the relative links we have created for the images do not appear because they are looking for the last /.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved