|
Was brushing up on my css last night and found something else you could try:
NATHAN RIDLEY
Web Application Developer
generalgherkin@yahoo.com
|
|
|
|
|
worked perfect...thanks man!
|
|
|
|
|
Ok, im using foobar to listen to music, and i'm outputting my currently playing title into a file (shtml, html, txt, whatever i want).
I've got this on my desktop (http://desktop.thekeegster.com/nowplaying.shtml) and i'd like to get that on my server. THe 2 computers are on the same network.
Now, i've tried using php includes, but those gimme errors. I'd really rather not have to use an iframe, because i want it to fit in a little section of my site, and the size of the titles vary, so i can't know the exact size of the frame.
is there some way to get just the text from one website into another without using frames?
*.*
cin >> knowledge;
|
|
|
|
|
Maybe you could try an XMLHTTP grab? i.e. use some JavaScript to grab the contents of the file, strip away whatever's outside the body tag and insert the resultant text into the area on your page where you want it.
NATHAN RIDLEY
Web Application Developer
generalgherkin@yahoo.com
|
|
|
|
|
i wrote a little python script
#!c:/python22/python.exe<br />
<br />
print 'Content-Type: text/html\n\n'<br />
<br />
<br />
import urllib<br />
usock = urllib.urlopen("http://desktop.thekeegster.com/nowplaying.shtml")<br />
lines = usock.read()<br />
<br />
print lines
i had to learn python, but it works now. thanks for the tip.
*.*
cin >> knowledge;
|
|
|
|
|
Hello,
I'm programming in a little enterprise, and also I maintain it's web page.
Today I've noticed that one of the links is not working properly: the link points to the right file (IM SURE, REALLY SURE) and when I click that link, it only appears a blank web page with the name of the right file.
I've called my ISP and they told me that it is a programming question and that they doesn't support it.
Well, I've deleted all my cookies and all my temporary files and even in this way, it still show me the blank page.
ADDITIONAL NOTE:
I have my web page translated to some languages.
As I have not had enough time to translate it to italian, portuguese and german, I had copied the same files that in english in order to have the same directory structure. The funniest thing is that if I copy the italian folder (in which the same link works OK) inside the english folder, with the same file names and so on, the problem still happens...
if you want to test it, go to:
http://www.tamelectromecanica.com/angles/nivell2-lesnostresm-re5cp-0001.htm[^]
(this is the one that doesn't work)
http://www.tamelectromecanica.com/italia/nivell2-lesnostresm-re5cp-0001.htm[^]
(this is the one that works)
PS:
the normal way to access the page that don't work would be:
1. www.tamelectromecanica.com
2. OUR MACHINES
3. TAM RE 5CP (the english version is the one that doesn't work)
thank you in advance...
|
|
|
|
|
Well, both of the links that you provided work fine...
theJazzyBrain
Wise is he who asks good questions, not he who gives good answers
|
|
|
|
|
Solved... I have only to press Ctrl+F5 in order to reload the page, it seems that if I press only F5 the page is not trully reloaded...
|
|
|
|
|
Both links work nicely, though I have no idea what mopes are. Could that have been meant to be mops?
"Some people are like Slinkies... not really good for anything, but you still can't help but smile when you see one tumble down the stairs."
|
|
|
|
|
well... I also have no idea what mopes are... I'll check it and change it as fast as I can... thank you...
and returning to the main problem, I can't understand why in two computers in my enterprise I can't see the english link...
|
|
|
|
|
Solved... I have only to press Ctrl+F5 in order to reload the page, it seems that if I press only F5 the page is not trully reloaded...
|
|
|
|
|
Yes, F5 only reloads the page from the local cache, and only fetches a fresh copy if the local copy has expired. Ctrl-F5 overrides that behavior and forces a fresh copy to be requested.
"Some people are like Slinkies... not really good for anything, but you still can't help but smile when you see one tumble down the stairs."
|
|
|
|
|
Roger Wright wrote:
Yes, F5 only reloads the page from the local cache, and only fetches a fresh copy if the local copy has expired. Ctrl-F5 overrides that behavior and forces a fresh copy to be requested.
Nice I never knew about this lil ctrl+f5 shorcut...
I'm drinking triples, seeing double and acting single
|
|
|
|
|
I have a page with a form in ASP. On the page a have a select box, when the user selects an option, the form is posted and the corresponding data is loaded into a new select box. This I have no problem with. What I do have a problem with is when the user clicks on the submit button to add the data to the database. Form validation must first take place. I do not know how to go about that form validation only occurs when the user clicks the sumbit button. The form is posted in one of 2 ways, either by selecting an option in the select box, or when clicking the submit button. It might sound confusing now, but send me a mail at brcvogt@yahoo.com then I can explain more and send you my sample code. I need this to be done ASAP as it is part of my college project.
|
|
|
|
|
I think you would be better off posting your code straight up here. You're more likely to get the response you're after.
NATHAN RIDLEY
Web Application Developer
generalgherkin@yahoo.com
|
|
|
|
|
hey guys
if i want to insert some text in a textarea object value field at the current cursor location when the user clicks a button or some other link how do i do it? i mean how do i know where the cursor is in the string?
am i dumb or is it tricky?
thnx
"there is no spoon" biz stuff about me
|
|
|
|
|
This is the way I do that sort of thing:
<code language="javascript">
function insertSomeText(str) {
document.getElementById('yourtextarea').focus();
var sel = document.selection;
if (sel!=null) {
var rng = sel.createRange();
if (rng!=null)
rng.pasteHTML(str);
}
}
</code>
NATHAN RIDLEY
Web Application Developer
generalgherkin@yahoo.com
|
|
|
|
|
|
no worries
NATHAN RIDLEY
Web Application Developer
generalgherkin@yahoo.com
|
|
|
|
|
Hi ,
I had created a toolbar and need to deploy it over the internet . I created a cab file with an ini file in it . This cab file was referenced from a html page through the OBJECT tag . The cab file was aldo digitally signed with a certificate created with the help of the tools available in .net . But when that page is referenced the installation does not take place .
Please help . Where could i have gone wrong . The OSD file everything has been written with the help of instructions from the MSDN documentation .
And how do i run a dos command from an ini file . I tried usig the run statement but it didnt work . Please tell me how to do it . If run is the command then please send the syntax for the run statement .
Srikar Y
NITK Surathkal
|
|
|
|
|
hi,
i've got a simple asp program which will execute an *.exe once the button is clicked. the exe will be executed and the user will be able to view the execution-i don't want the user to view the execution. i need to hide the window where the exe is executed but couldn't find a way to do so. below is the vbscript that executes the exe when the button is clicked.
<script language=VBScript>
sub validateForm()
test.action="process.exe"
test.submit
end sub
</script>
hope someone can help me. thx in advance.
rgds,shan
|
|
|
|
|
I have a frameset with two frames. For both frames, I set scrollbar=auto (which is by default). So when there is a lot of content, scrollbars appear, and when it fits on one page, there is no scrollbars.
However, I notice that when the scrollbars are not visible, there is still some whitespace reserved for it all the way down the right side of the screen.
I notice this because in the body of the page, I have a DIV element and I set its background color to black. And the black does not reach all the way to the right edge of the screen.
How can I eliminate the white space?
|
|
|
|
|
I'm not sure if this would work for your situation, but in the body tag of the actual html file being displayed in the frame, put style="overflow:auto;"
NATHAN RIDLEY
Web Application Developer
generalgherkin@yahoo.com
|
|
|
|
|
Which is faster? As an example, CodeProject uses tables for their forums, is that faster or would it be faster if they were based in DIVs?
Rocky Moore <><
|
|
|
|
|
I dont think that one is faster than the other in terms of rendering.
Obviously a table is more HTML code than just a DIV but provides better layout flexibility.
I personally find tables very usefull and I prefere them when it comes to layout.
In addition, the table tag is older and is supported properly by all browsers. Of course, now, the DIV is also supported but not fully and properly by older browsers.
If your web page is to be viewed by older browsers I would suggest to use tables. Otherwise, it doesnt really make a difference. At least this is what I believe...
theJazzyBrain
Wise is he who asks good questions, not he who gives good answers
|
|
|
|