Aktív témák
-
Guriga
tag
Tudnatok nekem ezt ertelmezi mert igazan nem vagyok ezen a teruleten otthon.
SYMPTOMS
An Active Desktop item that contains a Web page with a hyperlink in the format <A HREF=''javascript: openWindow( )> will not work if the openWindow( ) function opens a new window using window.open( ). When you click on the hyperlink that points to the anchor tag listed above, you receive an error from Internet Explorer that indicates that an object is expected. Also, ''javascript: openWindow'' appears in Internet Explorer's Address box.
CAUSE
The problem is that this method makes some assumptions about the context in which the code will run. In a browser window, this code would look for the openWindow( ) function within the document itself. Active Desktop items are implemented as IFRAMEs of their parent window. Therefore, on the Active Desktop, this code would not find the openWindow( ) function.
RESOLUTION
Add an explicit _self reference in your anchor tag like this:
<A HREF=''javascript: openWindow( )'' TARGET=_self>
STATUS
This behavior is by design.
MORE INFORMATION
The above code is analogous to right-clicking a javascript:url and choosing to open it in a new window. For example, the following code to open a new window does not work from the Active Desktop:
<A HREF=''javascript:openWindow( )''>Open a New Window</A>
<SCRIPT LANGUAGE=''JavaScript''>
<!--
function openWindow()
{
window.open(''<WWLINK TYPE=''GENERIC'' VALUE=''http://www.microsoft.com'');''>http://www.microsoft.com'');</WWLINK>
}
//-->
</SCRIPT>
When developing for the Active Desktop, never make any assumptions about the context that you are in. For example in this case, the openWindow( ) function is in the context of the current document. For this to work from the Active Desktop, add an explicit _self reference, like the following:
<A HREF=''javascript: openWindow( )'' TARGET=_self>Open a New Window</A>
<SCRIPT LANGUAGE=''JavaScript''>
<!--
function openWindow()
{
window.open(''<WWLINK TYPE=''GENERIC'' VALUE=''http://www.microsoft.com'');''>http://www.microsoft.com'');</WWLINK>
}
//-->
</SCRIPT>
[Szerkesztve]
[Szerkesztve] -
Guriga
tag
HI Mindenkinek!
Segitsegert fordulok hozzatok!
IE 6 -ot hasznalok es nem nyit meg egy web oldalt => www.ebroker.hu
mar ujra tellepitetem a windows xp-t es elinditotam az IE-t es mukodot.
aztan tortent valami es mar a megnyitas folyamata a latt a bal also reszben egy sarga haromszog jelenik meg es azt irja hogy (error on pages).
ha a sarga haromszogre duplan katintok akkor megjelenik egy ablak es kozli a hibat ERORR : Permission denied
tanacsoltak hogy alitsam be a SSL-t de nem igazan mukodik >> LEHET HOGY VALAMIT NEM JOL CSINALOK?
Elore is koszi a segitseget.
Aktív témák
- Autós topik
- 5.1, 7.1 és gamer fejhallgatók
- Okosóra és okoskiegészítő topik
- Horgász topik
- Intel Core Ultra 3, Core Ultra 5, Ultra 7, Ultra 9 "Arrow Lake" LGA 1851
- Milyen monitort vegyek?
- Elektromos autók - motorok
- Metal topik
- Milyen billentyűzetet vegyek?
- AMD K6-III, és minden ami RETRO - Oldschool tuning
- További aktív témák...
- Lenovo ThinkPad X1 Carbon Gen 9 i7-1185G7 32 GB RAM Iris Xe 4k kijelző törésgarancia
- Bluetooth hangszóró FM rádióval
- BESZÁMÍTÁS! ASRock B550 R5 5600 16GB DDR4 512GB SSD RX 6600 XT 8GB Zalman i3 Edge FSP 700W
- Telefon felvásárlás!! iPhone 15/iPhone 15 Plus/iPhone 15 Pro/iPhone 15 Pro Max
- Bomba ár! Lenovo ThinkPad T480s - i5-8GEN I 8-16GB I 256SSD I 14" FHD I HDMI I Cam I W11 I Gari!
Állásajánlatok
Cég: Laptopműhely Bt.
Város: Budapest
