Get Screen Size
I'm looking for way to get the users screen size in asp. Including something like
If screensize=800x600 Then
varscreensize = "800x600"
Is this possible with asp?
I'm looking for way to get the users screen size in asp. Including something like
If screensize=800x600 Then
varscreensize = "800x600"
Is this possible with asp?
Ive been looking for ways on how to do this for a long time. But ive never found a way to do it without a component! So i made a combo of asp and javascript to do it, heres how you do it: Code:
View Replies View Relatedis there any asp that detects the screen size and then redirects to another page depending on the size of screen that they have?
View Replies View RelatedI'm using Windows 2000 server n IIS I'm Using FileSystemObject of ASP in Server Every File and Folder has 2 Size when we get properties of any 1 actual size and Size on Disk.now my problem is when i get the file size from ASP object it give Size value but when i try to get folder size it gives size on disk and both values are different.
I'm creating a size to access limited size to upload files so i just check the folder size and then get size for those which are going to update by user then i will less those size to actual folder size to get remaining size.
In my ASP application, I have a chart that will popup in a
new window. From the opener window, I want to add a button
that will capture the chart to the clipboard and be able
to paste it to other application. I just want the client
area and don't want to include menu bar, address bar and
so forth.
Can I do that with pure asp without a component?
I want to take the HTML source of a page and validate it and do certain things with it (all for good reasons!) much like W3C validators and such like do.
Trouble is:
* screen scrapes normally require 3rd pary component, and my host will not allow this
* my host does not support .net (which can do screen scrapes without a component)
My host does have cgi/perl support, so I was thinking I could:
* do a screen scrape using a simple perl script (suggestions please!)
* somehow get that to be submitted to an ASP page as form data
After that I can hack about with it as I see fit using the ASP.
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
I need to write an application (VB script/ASP) that programmatically
operates a web site. In other words I would like to create my own interface
and use data from existing web sites. For example, the application will have
"to","from", "departaure" and "return" date fields that will be filled out by
an end user. The application then searches expedia.com, grabs results, and
displays it on my own screeen. Then a user selects flights and the
application routes the request back to expedia to book flights. The
confirmation number generated by expedia is displayed on my screen, etc.,
This is going to sound like a really basic question, but at the moment my mind is running a total blank and i can't seem to find any reference to how to do it - but how, using VB Script, can I determine the height and width of the screen?
View Replies View RelatedMy site seems to preload everything prior to displaying itself. I get a white screen for a couple of seconds and then, bam!, its all loaded and displayed.The same happens when the user navigates around the site. In between each page there is a white screen and a delay.is there anything I can do to minimise this white screen delay?
View Replies View RelatedIs it possible to determine a user's screen resolution?
View Replies View Relatedwhat 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 RelatedThere is a problem which confused me for a long time. I have a web application built by ASP running on IIS, and most time it's OK.
occasionally when IE send request to IIS and then receive HTML from server it will stop with no reason. IE shows a white-screen and then I check the HTML source and find that only partially received. After I press F5 everything is OK again...
I am not sure that asp is a right place for that question, so gurus will move it to proper section. But as soon as I display images using aspupload the solution probably will be also in asp. I do not have problem to show them on asp page, so it is not a problem of aspupload. Its just a general asp question:
Do you know any techniques how to display full screen images without using popup window?
I would like image to take all the full screen without any browser menues or explorer menu bars. Something like you see when screensaver turn on.
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 ?
How do I write " " to the screen? Here's my code:
string(right_array.count, " ")
It keeps printing like this: &
I've even tried this:
server.htmlencode(string(right_array.count, " "))
I just can't get it to work.
I was wondering if there is any possible way to do this:
I would like some application on my server go out to a certain page at specific time intervals and scrape some data from it.
I imagine it would work similar to grabbing an updated RSS feed...except without the RSS. I would then like the scraped data to be stored in a database, or a text file, or an html page so the data can be pulled into another page.
I have 10 athletes i will be testing and displaying their information
so there will be two split screens the bottom screen where the user enters the data and the top screen where the data will be sorted to show the ranking of the athletes Code:
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:
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 RelatedI can come up with a page that displays some information. The information will always be displayed on specific part of the page, with auto refresh. But he doesn't want the whole page to be refreshed so that buttons and images around the information do not get
reloaded each time. Is this really possible?
Other pages on this site don't use frames, so this page can't use frams too. Creating an ActiveX control is also not an option of us ...
My coding experience comes from mostly application development instead of web coding. In the application world, if the user receives a system error, a new form would display the error, with any helpful information for the user and the application administer. This way there is a systematic way to handle errors. In the web world, how is this done?
For example, if I have a form where the user is entering data to be inserted into a DB. Is this the correct flow of pages?
-On submit of Entry form, an ASP page is called to insert the data -If insert successful, take the user to the next logical page -If insert not successful, display an error.htm page.
Basically, the entry page does not have the insert SQL and if there is an error in the insert (not because of missing fields because those are handled with JavaScript before submit), the error is displayed on a completely different page. Is this correct flow?
Our application launches a webbrowser window with a command to (more than
one) asp's on the host. The window is reused for subsequent commands.
Unfortunately, the old window is usually underneath some other window and
unaccessable from the application.
Is there (preferably) a browser-independant method to command the window to
front from the asp?
I have a screen, screenA, from which I call another screen, screenB, with a form on it. ScreenA has an ID that is captured in a variable called strShortName. (That variable is defined in another file called into ScreenA via an include.) I want to write that name as the value in a hidden field in the form on screenB. How can I do that?
View Replies View RelatedHow could I create a input area where a user could paste a printscreen into the area or press a button to grab the item from the clipboard?
View Replies View RelatedUsing JavaScript, I'm able to get the user's screen dimensions with screen.availWidth and screen.availHeight. But if I want to store this info in the database using ASP code, how do I go about doing it?
View Replies View RelatedI would like use the Print Screen Button to copy a part of page using ASP.
En fact, I use a data access page of a chart (pivot)created by access. And I would like copy only the chart.
I think the easiest way is to use a Print Screen Button of keyboard.
Some body could help me to found a solution to control this button using ASP.
i am designing a search engine, you select the search options from five choices in a drop down box, each option reveals a table, but the tables have fixed positions on the html page.
i need it so that if only one option is picked to search and it is the last option on the drop down list, that it will appear at the top of the page? i dont have a clue what type of function to write to do this or what techniques will be involved!
How can i store the JavaScript "screen.width" variable as an ASP variable?
Or is there a VBScript ASP equivalent of:
<script language="JavaScript1.2">
var mywidth = screen.width;
document.write (mywidth);
</script>
?
how can I get size a file from any sites.
http://www.domain.com/fileblablabla.zip
I want to know what the size of file is by using ASP..
is there any way ?
or is there any free component ?
(But it must cancel immediatily after getting the size of file..
because maybe its size can be 50 Mb
I am using variable passing through the url, and as it is getting larger, I am finding that occassionally some values are getting trimmed. Is there a limit to how long a url can be?
View Replies View Relatedhow can I get different font size in the form method "select", "input"
instructions working under ASP? because when I check with the browser is too
big in the table.
============================================
<FORM method="post" action="../gallery/default.asp">
Select a category:
<SELECT name=""CategoryID">
<option" value="">Select Your Gallery</option>
<OPTION value="3">Digital Package</OPTION>
<OPTION value="6">others</OPTION>
<OPTION value="5">test</OPTION>
<OPTION value="4">Traditional Package</OPTION>
</SELECT>
<INPUT type="Submit" value="View Photos">
</FORM>
==========================================
I am having a problem with this code. The problem I am facing is that
the first image is displayed in its original size. But when I click the
next button, the next image not displayed in its original size, but
being displayed as 100 x 100 pixels, same goes to the 3rd picture and so
on. Code: