Removing The Vertical Scroll Bar
Apparently you can do a window (for want of a better word) without having the vertical scroll bar to the right there, which you get regardless of the height of the window.We are working on pop up message boxes (JS, calling standard ASP), and can't work out how to get rid of the scroll bar. Some one in the office is claiming it can be done, but am at a complete loss how to do it.
View Replies
ADVERTISEMENT
As a mean of not having to use Framesets/Frames with all the bad side effects/workarounds that come with them, I want to know if it is possible to code a scrolling veritcal bar into a table <TD> ...
View Replies
View Related
Can anybody help me create a VERTICAL Menu bar please.
View Replies
View Related
I am trying to create a collapsing vertical menu (with nested submenus). Check out the 'products' quick menu on this site and you will know what i mean.I know how to do a static version of this using CSS and DHTML but in this case the client will need to add/remove sub-menu categories. Consequently the menu will need to be populated from a db. I am using ASP (VBScript) and an MS Access DB.
View Replies
View Related
Anone know of free code available to create a vertical repeating region? (I've found code for a horizontal repeating region.). I want to display my data from an Access table vertically, not horizontally.
View Replies
View Related
How can I make a text scroller(up-down) with some msgs that serve as links too! I want the msgs to be on a simple text file and will be imported to the script and scrolled.do you know of any ready asp script or javascript?
View Replies
View Related
I have two tables: one table forms the header columns and the other table is in an iframe returning the results of an sql query. The query works fien and returns the appropriate data but the rendering of the columns in the top table does notmatch those in the iframe table, even though they are supposed to be the same width!!
The iframe table has a scroll bar and the data returned sizes each column cell
dependant on the amount of data returned regardless if i stipulate a set width!!
As you can imagine this is visually poor as the table columns are not correct for both tables!!
View Replies
View Related
I want codings to scroll text on click event using javascript.
View Replies
View Related
I am working on a site that has 5 main pages each accessible from a standard menu. On 2 of these pages the content fits within the window and there is no need for a scrollbar, while the other 3 have more content and a scrollbar is needed to view it all. The site functions perfectly in IE. On the shorter pages in IE the scrollbar remains in place even though it is not needed, but it is disabled. However in Firefox the scrollbar disappears on the shorter pages where it is not needed.
This makes the page slightly wider, and as a result my page shifts slightly so that it remains centred in the now slightly-wider page. So as I browse between the longer and shorter pages, they move slightly from side to side. Can I make the scroll bar in Firefox remain in place on pages where the content fits in the window, as happens in IE? Or are there any other ways around this issue?
View Replies
View Related
I have a page that does a postback using ASP.NET and VB.NET. Basically, there is a form item that changes the settings on the page and it is near the bottom of the page. If you change it, the page has to refresh to display the changes to the page, but when it does, the refresh causes the page to be displayed at the TOP of the page.
Is there a way to force the page to either A: scroll to the bottom or B: (even better) scroll to a certain focus point on the page by giving the name of a control or something?
View Replies
View Related
i have a question about a form i am taking online. you have to check the "I have read and understood..." checkbox before the form will let you submit the form, but i have all the terms and conditions embedded in the form as a textarea, and i know that i have seen form's requiring you to scroll through the contents before the checkbox would be enabled (FORCING you to at least acknowledgingly ignore them).
View Replies
View Related
I have an asp page that shows dynamic data. I have it refreshing every 10 seconds. It is a very long page and when it refreshes it goes back to the top. I want the page to refresh and keep its same position.
View Replies
View Related
I am trying to scroll through all elements in my page testing each element for a particular id I have set a <td> tage :
<td id="myvalue">blah</td>
does anyone have any JS I can use to scroll through elements checknig the id attribute???
can I wrap the <td> in a <form> and use :
<code>
numelements = document.form1.elements.length;
for (var j=0; (j < numelements); j++)
if (document.form1.elements[j].id == "saletotal") {
alert("INSALETOTAL");
strsumsaletotal = document.form1.elements[j].text;
break;
}
</code>
View Replies
View Related
i have a SQL text field that has linebreaks in it, when i try to display the field in my java/asp script it doesn't work. so i'm thinking i need to replace my linebreaks with <Br>?
is that what i need to do? Code:
View Replies
View Related
Does ASP have any function to remove ZEROS from LEft??
or shoud i write one?
000025120 -> 25120
000000012 -> 12
View Replies
View Related
I have set up a page specifically for printing, however, I would like to be able to choose certain items on the page that are to be ignored by the printer. For example, the web version of the page may have instructions on how to print, although the version that is printed off does not.
View Replies
View Related
I have successfully taken over a number of variables from a .csv file and put them into an .asp page. Unfortunately the .csv file has all these variables enclosed in double quotes i.e "Hello" and appear this way on the .asp page. Is there anyway of removing the double quotes (") from the beginning and end of the variables?
I have tried splitting the individual variables on the " with this
sSeg2 = Split( var1, """ )
but this brings an error..
Unterminated string constant
/iq/groupama/chamber/test3.asp, line 74, column 26
sSeg2 = Split( var1, """ )
View Replies
View Related
i have a variable which is like
Code:
UsrStr = "root|1234"
ive checked the text file for it to validate it for removal, if it returns true i need to remove the line and clear that line so new lines can be added in the future.
how can i remove a spcified line from the file?
View Replies
View Related
how do i remove spaces in the middle of the string?
from this:
var = "sand bag"
to this:
new var = "sandbag"
View Replies
View Related
ive got a string where i woulld like to remove the last character it probably seems simple 2 u but i cant work it out
can anyone tell me how to remove it.
View Replies
View Related
How do I remove any ASP code from a variable? I've got a variable returning a value with loads of ASP coding inside it and I want to remove that ASP code from the variable (any <% %> tags and anything between it).
View Replies
View Related
Does anyone know of a way where I can remove an attribute from a querystring? For example, say my URL is thispage.asp?view=all&filter=col1 is there a way I can request the querystring but remove the filter=col1 attribute?
View Replies
View Related
I have a database which currently stores a series of urls that are displayed in a page. The title field contains the url and the title text. I use the code below to display the information.
Response.Write "<tr><span class='tabuler3'>" & "<strong>" & objRS("TITLE") & "</strong> " & objRS("START_DATE") & "<br><br>" & objRS("HOST")& "<br>" & objRS("LOCATION") & "<br><br></span><br><br></tr>"
I was wondering if there was a way of putting the url in a script instead of manually having to enter the html for each url for each record. The only field that needs to change is the "id" field.
View Replies
View Related
I have a form that seems to add a comma to the end of the email address, ive looked all over the form for this random comma which i cannot find, the comma is definately there before i perform any sort of email error checks, however ive pretty much given up trying to find where its added, but i was wondering, is there something you can add which removes the last character of a field, before it gets entered into the database, something like a comma?
View Replies
View Related
I'm running IIS on Win2K Advanced Server. My backend database on unix
gets suspended each night for backup purposes. This causes problems
for the middleware if users try to access the database during this
time.
So I thought I'd redirect all requests for pages in my app to a page
saying the site is offline temporarily (ten minutes)
I'm trying to do this using VBScript, exposing the IIS architecture
using
set iisobj = GetObject("IIS://localhost/W3svc/1/ROOT/apps")
where "apps" is the name of the virtual directory where my app
resides. I redirect using
iisobj.Put "HttpRedirect", "http://mymachine/offline.asp,
EXACT_DESTINATION"
and all this works fine. Code:
View Replies
View Related
I need to remove a period from a string of data. I have a whole column
of numbers that have a period distributed randomly in them, and I need
a way to pull the period out. Unfortunatly, the period is not at a
fixed interval from the start or from the end. Sometimes it's like
this: 08307.33214
and sometimes it's like this: 66543354.2213
At any rate, I have a whole column of these in SQL Server 7.0 and need
to use the number as is for some issues, but without the period for
others.
Can someone please show me how to write a function that will remove
the period no matter where it is located in the string?
View Replies
View Related
I have an ASP function in place to strip invalid chars out of a data store
before I create an XML file of this data, but my function doesn't work on a
certain set of chars.
As far as I can see these are the following:
a) trademark char
b) long hyphen/dash char
c) smart/curly quotes (both left and right)
Even though my function is set up as follows: Code:
View Replies
View Related
I have a permission tracking app that I am working on, and I have made the insert page for it. I am having issues on how to prevent duplicates from getting entered.
Currently the interface for the app has a mixture of select boxes, list boxes and checkboxes. The form submits the page to processAIMR.asp and then does the inserting. I am using a loop to insert a new record for each checkbox checked or listbox entry selected. Code:
View Replies
View Related
I have a link that looks like this
http://www.anysite.com/ class="someclassname"
It looks exactly like the above link (minus the fact that anysite and someclassname are variables)
View Replies
View Related
I have an array of lets say 10 items, I now want to remove an item, lets say
from somewhere in the middle, based on one of the element values equalling a
value I specify - is there a "clever" and "quick" way of doing this or, will
I need to iterate through it looking for a match, and build another array
where I dont find the match etc...
View Replies
View Related
I have this form that collects text values and I use VBCrLf as delimiters to tell one element from another. Sometimes, I get several empty elements. Is there a way to remove those elements?
View Replies
View Related
I am creating a recordset paging script, however I am having a few issues. I need to remove a certain part of the querystring for it to work properly. i.e i need to remove
mydomain.asp?oParameter=124&oParameter2=87
I can't just do a Replace, because the value of the parameter will change for each page. Is ther an easy way to remove this from the full querystring?
View Replies
View Related
i'm trying to compare a variable containing a date with todays date.
if tempdate <= now()then
trouble is...
tempdate = 05/12/2003
now() = 11/09/2003 14:04:06
View Replies
View Related