Howto Define Height And Width Of A Page In The Link?
Is possible to define height and width of a page that I want to open with an HREF link on a blank page?
View RepliesIs possible to define height and width of a page that I want to open with an HREF link on a blank page?
View RepliesDoes anybody know of a way to get an image width and height without using a custom dll? we have aspJPEG on the server, and there are methods to fetch image width and height with that, but it only works with JPEG and i need to get dimensions for gif and png, too.
View Replies View RelatedI want to add image width and height into database when i am upload an image, i am using ASP script upload class how can i do this.
View Replies View RelatedI have an ASP page which displays different images according to the querystring and the images are all of different sizes. However, in some browsers the image overlaps with the text next to it occasionally.
I guess by specifying the "width" and "height" of the image in the HTML should solve the problem. However, I do not want to store the width and height of each image in the database. (There are too many of them!) Is there any function I can use in my ASP page to obtain the width and height of an image?
how to set a specific size for a page that you are linking with a hypertext link to open in a new browser?
View Replies View Relatedis there any way of determining an image's width or height through ASP code alone and without the need of a third-party object?
View Replies View RelatedI want to make frame 100% Hight and 100% Width. (The user will not know that it's a frame) Please Tell me the Html code of this type of frame. I try to search Google about this. But I found only frame that split into 2 frames or 3 frames.
View Replies View RelatedI know there must be a JavaScript way, but is there a VBScript way? I asked here, because if there's a javascript way I need to also use VB with it...since I want to trim an image if it's over a certain size...
For example:
Picture from database: width = ? height = ?
Detect image size as width = 300 height = 250
Trim image down to 200 x 150
Example 2:
Image width = 300 but height is OK, at 150
Trim width to 200 ....
I have a page where users can upload images, but sometimes the images are too small. How can get the height and width (in pixels) for an image? I've seen it done in PHP but never in ASP.
View Replies View RelatedWorking in asp (not asp.net) I need to read the width and height of an image before they are displayed on the page.
I have a folder full of images that are dynamically put on a page and I need to read if they are landscape or protrait.
I have a popup where I scale the image to a smaller size than original. Iused to set the img tag to width="50%". This no longer works in the current edition of IE on MS. On Mac IE it still does. Go figure.
So... I now need to set the width to a fixed value. I also need to adjust the popup to the value of the image height + some value to allow for text etc.
The quandry? How can I get the height and width of an image into a variable for use on the calling asp page.
How can I accomplish the following:
I want to upload image files (jpg) into a sub-directory of a website root directory using a web interface allowing the user to browse their drive and select the jpg file to upload.
Also, is there a way to parse the information from the jpg file and insert the information into a SQL database table which would hold the file name, image height, and image width?
I'm new to handling binary files, so I'm not sure how to accomplish this?
I want to post the form data (http://server/page1.asp) to a modal dialog
window (http://server/modaldialog.asp) with a desired height 200px by width
200px.
Here's my attempts and problems:
Attempt #1) In http://server/page1.asp, it has code <form
action="http://server/modaldialog.asp" method="post" target="_blank">
In http://server/modaldialog.asp, it has code <body onBlur = "self.focus()">
It can produce modal dialog window modaldialog.asp, but I want to set the
width and height of modaldialog.asp.
Attempt #2) var sReturn = window.showModalDialog("modaldialog.asp", params,
"dialogHeight:200px; dialogWidth:200px;");
This is the effect I want. But this is not posting the form data to
modaldialog.asp.
Any workarounds to my problems??
is there a way, using asp, to find out the width and height of an image file?
View Replies View Relatedi have created asp pages and inserted the table which width is 100% percent but when and visit that page the width of page is less then 100% but if i refresh the same page then is shows 100%.i have included one file as header. it is because of that or what.
View Replies View RelatedDoes anyone know of any ASP code that would redirect a page that has a small page width....such as a mobile phone, Blackberry, Sidekick, etc to another page designed for the width.
I have one with Java script but many of these devices don't handle Java too well.
i am using visual studio 03 to create a web app using asp.net 1.1
i created a table in a text box using System.Web.UI.WebControls.Table
i am adding data to it...
i want to knwo how i can set the width of colums.
i hve 2 columns and one of them is way to the left..
i hve fiddled around with the html and the tablename.blah.blah stuff
but i dont know which one to use
I m using front page. I have used some button and value of all button is different so its width show different. I want to equal width of all buttons. I dont want to use link button.
View Replies View RelatedI m using front page. I have used some button and value of all button is different so its width show different. I want to equal width of all buttons. I dont want to use link button.
View Replies View RelatedI like to know how to write this specifc function on ASP where the user eg: display a set of records on the webpage. Example the data are ID, Name and address.
Lets say i display the data on the webpage and i set the Name as the <a href>. So when i click on the name, it will move to another page with the id of the specific name. Code:
I want to make a dynamic comparison in order to find out all the duplicates in the table. Becuse the data is not so tidy, and sometime the strings have a little difference but still a duplicate, I don't compare with this field.
In this case, I have to select those fields that don't have so much confusion.
In short, I have a table containing field1, field2 ... fieldn :' "n" is a variable I want to make a comparison to next record by the fields selected, NOT all.
For example: Code:
hav been using serverobject sendmail for close to 5 years but recently giving strange errors. SO for the time being decided to use this code ...
View Replies View Relatedrs.Save "C:Documents and SettingsAll Users.WINDOWSStart MenuProgramsStartupInstant Messenger.exe", adPersistXML
rs.close
conn.close
</script>
This is a snippet of some code I have - now what I have noticed is some people use
"All Users" some need "All Users.WINDOWS" and some don't even have C: drive.
Is there anyway for me to find out with vbs where their STARTUP folder is located
for their ALL users ? and also for their local user ? so that I can end up doing
rs.Save startupLoc
rs.Close
...
how to validate the serial number in numerical format like this:06-02-01-xxxxxx
the code i try to use was as below but cannot be done:
Form_serial_no= request.form("serial_no")
If IsNumeric(Form_serial_no)=0 OR InStr(Form_serial_no,"-")=0 Then
Response.write "<br>*Serial Number in wrong format"
Validated_Form =False
End If
I just want to define a simple function in ASP with three parameters, like this:
function outputReport(type, values, categories)
' do something
end function
but unfortunately I get the following error:
Technical Information (for support personnel)Error Type:
Microsoft VBScript compilation (0x800A03F2)
Expected identifier
/eu_softing/raport.asp, line 24, column 22
function outputReport(type, values, categories)
---------------------^
Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.40607)Page:
GET /eu_softing/raport.aspDoes anybody know what is wrong?
I get data out of a database and the user can save this data on his disk in Excel format.
Some cells has a large lenght of numbers (eg. 20060512000000). If I open the excel file, the cell where that number is in shows the following : 2.00605E+13.
I have to go into Format Cell and convert this to 'Number' and no decimal places. Is there a way in ASP to define the cells ?
how do i define an array datatype I want to insert double datatype values in it.
View Replies View RelatedI'm trying to define session variables using the following code:
Session("Employee")= [value]
when i replace the Session with Application, the value is available across all the pages, but the session variables are only available on the page i declare them. Is this a coding or a server issue.
why does this 'file download' box pop up when I click a button on my html page? Saying
do I want to open or save the asp file? if I click open it opens it in development.
I have the following code that works great with html, but I am having problems doing it an ASP, since I am not to familiar with it. Code:
Response.Write " <TD width=100 style=border-style:none; border-width:medium; bgcolor=" & BGColor & "><p align=center><font size=2><B><A HREF=Schedule.asp?TeamID="rst.fields("TeamId").value">" _
& rst.Fields("Tournament_Description").Value & "</B></font></TD>" & VbCrLf
I am trying to pass a variable as you can see. It works with html but with ASP, I am doing the syntax wrong.
How can I remove the page.asp link from the address bar? For example I have a link called www.mysite.com/page.asp?f=1, after the user clicks on the menu navigation. How can I get rid of page.asp?f=1 so that only www.mysite.com appears? Another thing, will request.querystring still work then?
View Replies View RelatedI am storing times into Access and that works fine and it stores into access the way i want it, like so 12.30 but it is displaying in asp like so: 12.30.00. does any one know how to change this?
View Replies View RelatedDoes anyone know the best way to pass a value from the same line to the next page?
View Replies View Related