|
Hi,
How does one vertical align the contents of a tag? I don't think the vertical-align attribute work when using it in a style.
Brendan
|
|
|
|
|
Do you want something like this.
<html>
<head>
<title></title>
</head>
<body>
<div style="writing-mode:tb-rl;">Ranjan</div>
<div style="writing-mode:lr-tb;">Goyal</div>
</body>
</html>
I got it from some place(I don't remember from where) on the net.
Ranjan
|
|
|
|
|
I need an explanation about those warning messages that pop up on my pages with javascripts which have only started occuring since SP2 for XP was installed. The one that says, "To help protect your security, Internet Explorer has restricted this file..."
I am sure you have seen this.
So I understand what it is trying to protect and the meaning of the message and how to enable script options in my IE 6 but...
Why is it that the warning pops up on some pages with javascript (yup, like the html pages I wrote myself and copy/pasted in a simple javascript) and some websites I visit which are loaded with a ton of javascripts do not cause the warning message to pop up. And those sites without the message are sites I have not visited before so there isn't a cookie locally (that I am aware of) to tell my browser that the scripts are safe.
I could guess a million reasons why this works or how but I don't know and would really appreciate an explanation. I am interested in learning javascript and perl so I won't just be grabbing the knowledge here without also investing work on my own to better my own knowledgebase.
My biggest concern is I want to prevent this warning message from opening on my self authored pages when viewed by other people on the Internet.
Cheers, Chris
This site is so cool, I have no time left
to browse porn
|
|
|
|
|
Just a thought.
When your developing javascript's on your local machine (NOT localhost, but just a HTML file and a JScript on your desktop) maybe IE considers this Local Intranet not Internet therefore your script causes as error because local Intranet settings are probably much tighter.
So perhaps if you upload your javascript to localhost or remote server, IE considers it Intranet and is less crazy about security and your script should run fine???
Except popup windows of course...
HTH
Cheers
It's frustrating being a genius and living the life of a moron!!!
|
|
|
|
|
The errors occur when hosted from the server. I did some messing about and find that often it is caused by flash animations that I downloaded from a template source. I wonder if there is something embedded in them that maybe has the info on the originators domain and that may be telling IE that the source is trying to cross domains which I think is something was a big security risk that they patched earlier this year...
Thanks for the reply.
Oh and when the html page is viewed in the local zone as well as from the server (internet zone), the error happens.
Again I think it is mainly the flash sillyness that I downloaded somewhere. I removed them from the pages giving me errors until I sort them out.
Is there a way to recompile them? What program would I need? I don't own Flash.
Cheers, Chris
|
|
|
|
|
goodolct wrote:
Is there a way to recompile them? What program would I need? I don't own Flash.
I have very little experience with Flash... sorry
I imagine you'd have to decompile change the action script and recompile, like you've suggested doing...however I have no idea as to what program could be used.
If you poke around google for such a thing i'm sure you could find something...or download Flash editor for free 30 day trial...???
It's frustrating being a genius and living the life of a moron!!!
|
|
|
|
|
Good suggestions (trial, Google). I might try both. Gotta love trial software. Forgot they did that. Yeah it seems like the Flash is the trigger on these. I can easily live without the flash. Might try the recompile anyway just because. You can probably relate with that. Thanks again.
CT
|
|
|
|
|
Hey all,
Im trying to call a batch file in ASP but everytime i try it i get an error 'Object Expected'. Here is the code in question:
<%
function myFunction()
set objShell = server.CreateObject("WScript.Shell")
intStatus = objShell.Run("c:\inetpub\wwwroot\Test\some.cmd", 0, true)
end function
%>
Does this look right or have I totally missed/messed something?
|
|
|
|
|
You totally missed something im afraid; server-side functions cannot be called from client side buttons. You must submit a request to the server and then execute your function.
|
|
|
|
|
There are some serious issues with users here not understanding the scope of code execution, variables, and the differences between client side processes and server side processes
'Cause I'm living on things that excite me, be it pastries or lobsters or love... I'm just trying to get by, being quiet and shy, in a world full of push and shove...
Jimmy Buffett - The Wino and I know
|
|
|
|
|
I'm writing a simple program in Javascript that dynamically processes Xpaths. So when I read a xml document, I want to display it in a Div with the innerHTML property. To take care the the > and <, I do a string replace. But I was wondering if there is a built in function for doing this type of encoding rather than a search/replace.
Anyone know?
*->>Always working on my game, teach me
*->>something new.
cout << "dav1d\n";
|
|
|
|
|
I'm not certain, but doesn't escape convert funny characters into the hex equivalent???
Typo...it's escape NOT encode!!!
It's frustrating being a genius and living the life of a moron!!!
|
|
|
|
|
When using, say, a <code><div id="d1"> container with visibility:hidden containing multiple, say, <span id="s1"> stuff </span> <span id="s2"> stuff2 </span> <span id="s3"> stuff3 </span> </div></code>
in .css file there is ....<code> span {visibility:visible}; div {visibility:hidden}</code>
I would expect that changing the visibility property of the id d1 to show and hide the spans within that div. Such is not the case. They show or don't show depending only on the span visibility property.
Can someone show me how to do this?
Larry
|
|
|
|
|
Not so, paste the following into a doc:
<script language="javascript">
function h(){
Contain.style.visibility="hidden";
}
</script>
<p><input onclick="h()" type="button" value="Hide"></p>
<div id="Contain" style="background-color:yellow">
<span>test</span>
<span>test</span>
</div>
*->>Always working on my game, teach me
*->>something new.
cout << "dav1d\n";
|
|
|
|
|
instead of visibility try
display: none | display: block
It's frustrating being a genius and living the life of a moron!!!
|
|
|
|
|
I just ran into the stranges thing in javascript. I was trying to set the action attribute on and HTML tag dynamically. I needed to attach the value of local variable to the request string.
There are quite logical code bits that work in Mozilla FireFox but fail to work in Internet Explorer.
I had a page similar to this:
I tried to change the submit action on my form:
function func()
{
document.myform.setAttribute("action", "foobar.asp");
}
This strange thing is that even though the action for the form is an attribute of the FORM tag, you cannot affect it that way.
You have to do this:
document.myform.action = "foobar.asp";
But this doesnt work in Internet Explorer because the INPUT node for the submit button is named action it all gets confused. It works fine in Mozilla.
The reason its all messed up is because somebody decided to define this particular part of the language to allow you to access attributes with the dot syntax. So it must get confused by the statement "document.myform.action" because it doesnt know if you mean the action attribute or form INPUT button.
Is there a reason why action isn't accessible via the standard attribute methods in Internet Explorer on the FORM tag?
|
|
|
|
|
i have a website that has asp pages not aspx and once i logon the website and i go past the first page after logon i can't hit my back button because it sayes unable to display page can somebody help me fix this i really need to set it up to be able to hit back
chad
|
|
|
|
|
I hv found many threads regarding this:
1. http://support.microsoft.com/?id=316148
2. http://support.microsoft.com/default.aspx?scid=kb;en-us;821268
3.
http://www.error-bank.com/microsoft.public.dotnet.general/113596_Thread.aspx
4. http://support.microsoft.com/?id=822171
It has to do something with AppPool and Antivirus Software as I read on MicroSoft and HELM Forums.
Hope this helps
---------------
Cheap and reliable Windows Hosting. Plans start as low as $1. Checkout our Windows Shared Hosting Plans
|
|
|
|
|
ok i have figured out why the back button dose not work it because all the people in my off have "do not save encrypted pages to disk" check in the internet options how do i fix this problem without having to go and uncheck this option from everybodys computer
chad
|
|
|
|
|
I am attempting to create a master detail html page using frames. The master frame with id='summary' sources summary.aspx which contains a datagrid. Within the datagrid are 4 bound columns and a 'Details' button column. The 'details' button invokes the onItemCommand and displays the details of the selected record in a form in a second frame in the html page. This frame is named 'Details' and sources details.aspx. I have set <base target="Details" /> in summary.aspx.
I have also set up column sorting on the datagrid in summary.aspx. However, with target set as above this produces an error. If I remove the target attribute I of course then have details.aspx opening in frame 'middle'.
Can anyone please provide information on how to resolve this problem such that I can set target dynamically when the details button in the datagrid is selected and at other times have target set to '_self'?
|
|
|
|
|
Hi guys,
This is driving me insane and Im sure its quite simple but are there any docx, links, samples etc... on how to call a batch file from a web page (be it in html, js, asp or whatever). I did a google search but half the links to this sort of query are broken, have been removed or dont exist anymore. Anyone have any ideas? Thanks!
|
|
|
|
|
|
Colin Angus Mackay wrote:
You mean like a DOS .bat file?
Exactly, That link was perfect. Much appreciated Colin!
|
|
|
|
|
I have a simple http webserver in c# and it works fine, but how can I let my webserver support asp,
so that I can call *.asp files in my virtual web server directory?
Looking forward to any suggestions!
Knack
|
|
|
|
|
an someone tell me how to send a value from my popup window to a text box in the referer document?
I have a main page with a button that opens a window. The users clicks a button on the popup. Now I want he value fro mthe click to populate a text box on the main page. I am using javascript.
Thanks
|
|
|
|