Yes, here is an example page:
http://www.dinnerbeat.com/Example.asp
I added colors to the different divs so it is easier to see....
User Profile
Collapse
-
Thanks - You're right on the double ID's, it's actually a class, sorry, I showed it wrong.
Adding "overflow: scroll;" to the parent does add a scroll bar to the whole containing div, all the time. (Adding "overflow: auto;" to the parent adds a scroll bar to the whole containing div when necessary.)
I want a scroll bar on ONLY the last div, the "centerfram ena" div, ONLY when necessary.Leave a comment:
-
Containing div not containing
I have a large div and am trying to place 4 divs inside it. The containing div has a set height, as do two of the contained div. The other two do not have set heights.
It works fine unless one of the divs without a set height gets too big. If that happens, I want it to add a scroll bar. Instead, it just cuts off the rest of the content.
Here are my divs:
Containing Div:
Code:#CenterDivNA {
-
Using .load() to load a dynamic/animated element
I have seen many examples on how to use the .load() function to load in static elements, but I am trying to load a dynamic element, specifically a scrollable.
I have gotten it to the point where:
1) the scrollable will function if I directly view PageToLoad.asp in the broswer.
2) the static elements of the scrollable will load onto MainPage.asp. (i.e., it looks right)
3) the scrollable does... -
Took a while to get this info, but strange it is.
Works on "From Visited" ONLY.
Any ideas why it would work for that and not "Accept always?"
Is there a difference in how a browser accepts cookies vs. session variables?
Thanks!Leave a comment:
-
Login works only on some devices
I am developing a mobile version of my site. I have limited testing resources: a Blackberry and Kindle. I have a friend who can run a test on an iPhone, but I don't have access to it.
The problem is that I can log in to the site on the Blackberry and the Advanced version of the Kindle browser, but not with the simple version or with the iPhone.
I believe the problem is with the cookies, since the database is registering... -
THANK YOU!! I was able to enable the parent paths and include the files!!Leave a comment:
-
This will give you the current URL -
CurrentURL = Request.ServerV ariables("HTTP_ HOST") & Request.ServerV ariables("HTTP_ URL")
See http://msdn.microsoft.com/en-us/library/ms524602.aspx for a list of parameters you can use.Leave a comment:
-
Thanks for working at this with me.
Let me clarify my problem, correct me if I am wrong:
1) Subdomains are treated as separate entities by asp (as evidenced by the session variables not transferring).
2) Therefore using any sort of relative path shouldn't work.
3) So the path must be a complete address.
4) <!-- #include file="..."> and <!-- #include relative="...">...Leave a comment:
-
I have looked through your reply and tested out your suggestions. The problem is that my subdomain, even though it is physically located in a subdirectory, is treated as a completely separate entity. Therefore I can't access the subroutine file through a relative path. (
<!-- #include file ="../ActionFiles/subroutines.asp " -->
gives the error:
"The Include file '../ActionFiles/subroutines.asp '...Leave a comment:
-
Accessing .asp subroutines remotely
Hi,
I need to access an .asp subroutine file from a subdomain.
i.e. the website is at www.domain.com and I want to access the same subroutines on the subdomain mobile.domain.c om.
The normal #include and #virtual don't seem to be working remotely.
I have also tried:
url = "http://<domain>/subroutines.asp "
set xmlhttp = CreateObject("M SXML2.ServerXML HTTP")... -
Create the page with the header and the footer. Put an IFrame (using HTML) in the middle where you want the search results, and call it something like "centerfram e." When people want to search function, have it pass the results to that frame (<a href='searchpag e.asp' target = 'centerframe'>s earch here</a>). When they search in the frame, it will return in the frame.Leave a comment:
-
Thanks all for your ideas. Unfortunately it looks like I'm going to have to give up on this one.
I implemented a work-around.Leave a comment:
-
Thanks Jared, but I tried it all. Nothing fixes it in the include file. And yes, it really does work if it's just in the same file. It has to be something funny with the special characters. They must be passed incorrectly.
Just an added random bit of info, running the characters through LCASE() completely replaces the special characters with the "missing character" diamond....Leave a comment:
-
Thanks, but this does the same thing. It will convert, but it will also stick an extra unknown character "�" in front of the decimal. Any other ideas?...Leave a comment:
-
It has a .asp extension, and is written in asp between <% %> brackets. I have also tried with a .inc extension, and that yields the same results. I wrote it in text, and I am using DreamWeaver to interface....Leave a comment:
-
You could write another quick query to look up the entry that you just made. Use recordset.movel ast to get to the last entry.
Another possibility, If you're doing it in order, is to create a session variable that keeps track of where you are. Just increment it by one each time you add a record to that table.Leave a comment:
-
Function in an include file misbehaving
I have this function:
Code:Function fixIt(text) fixIt= Replace(Replace(Replace(text,"½","0.5"),"¼","0.25"),"¾","0.75") End Function
If I place the function in an include file, it will still change the fractions to decimals, but it also returns missing symbols (�) in... -
Thanks for the help. It appears that some of my data had been corrupted and that was what caused the error.Leave a comment:
-
Thank you for the quick response! However, I still get the same error.
I forgot to mention that it works without errors if nothing is found in the database. The error comes only sometimes when the search DOES pull responses from the database. I can do a SearchRS.record count instead of the getrows() without getting an error.Leave a comment:
No activity results to display
Show More
Leave a comment: