HELP ABOUT IFRAME EVENT!
I'm wanna check button in iframe is clicked, so if it clicked it will redirect to specific url.
here is button from iframe
<input type="submit" value="Vote for Crystal Dekaron - 11 Classes" name="2fae16e9a671c5f05a419782d585cce4" style="padding: 10px;">
here is script:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style>
#outerdiv
width:480px;
height:265px;
overflow:hidden;
position:relative;
align:center;
#inneriframe
position:absolute;
top:-100px;
left:-250px;
width:1310px;
height:1200px;
</style>
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/hr_HR/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
</script>
<script language="javascript">
document.onmousedown=disableclick;
status="Right Click Disabled";
Function disableclick(e)
if(event.button==2)
alert(status);
return false;
</script>
<title>vote</title>
</head>
<body bgcolor="#FFFFFF" onload="disableContextMenu();" oncontextmenu="return false">
<center>
<div id='outerdiv'>
<br></br>
<center><iframe id="inneriframe" name="inneriframe" src="http://www.xtremetop100.com/in.php?site=1132341231" scrolling="no" frameborder="0" height="350" width="230" onload="disableContextMenu();" onMyLoad="disableContextMenu();" ></iframe>
</div>
<center>
<br></br>
<center>AFTER U DONE, U WILL BE GET COINS!
</center>
<center>
<script type="text/javascript">
setTimeout(function(){
alert("U didn't enter rapacha, please try again");
window.location.reload(1);
}, 1000);
</script>
<script type="text/javascript">
var count=60;
var counter=setInterval(timer, 200);
function timer()
count=count-1;
if (count <= 0)
clearInterval(counter);
return;
$(window.frames['inneriframe']).mousedown(function(event){
var eventId = $(event.target).attr('type');
if (eventId == 'sumbit') {
alert("thanks for vote")
document.getElementById("timer").innerHTML=count + " secs";
if (count <= 1)
document.getElementById('timer_div').innerHTML = 'YOU DIDNT ENTER RAPACHA, TRY AGAIN';
clearInterval(interval);
</script>
Totally <span id="timer"></span>, please hurry up!
</center>
</head>
<body>
</IFRAME></body>
</html>
I think that if replace options in NSTrackingArea for NSButton it will be help me
In Debugger I saw that default options is 4225 - I think that it's NSTrackingMouseEnteredAndExited|NSTrackingActiveAlways|NSTrackingAssumeInside
I want replace it to NSTrackingMouseEnteredAndExited|NSTrackingActiveAlways|NSTrackingInVisibleRect
But if I do it in awakeFromNib function and add breakpoint in drawRect: -- it have first value. Somewhere value overwrite before drawRect:
Code:
//MyButton.mm
- (void)awakeFromNib
NSArray *a = [self trackingAreas];
NSTrackingArea * t = [[NSTrackingArea alloc] initWithRect:(NSRect){0, 0, 100, 50}
options:NSTrackingMouseEnteredAndExited|NSTrackingActiveAlways|NSTrackingInVisi bleRect
owner:self
userInfo:nil];
[self removeTrackingArea:[a objectAtIndex:0]];
[self addTrackingArea:t];
[t release];
- (void)drawRect:(NSRect)aRect
NSArray *a = [self trackingAreas];
NSTrackingArea *t1 = [a objectAtIndex:0]; //always first value !!!
[super drawRect: aRect];
Any idea how to do that ?
Message was edited by: pavelmagur
Similar Messages
-
Valery,
Thanks for your help with IFrame. This message is in continution to the message Web Dynpro Java
I opened seperate thread as the clarification required is different.
Now the clock is running okay. However, I need to capture the time that is displayed when a user clicks button. Any code in WD, is getting server time which most of the time varies from the client side desktop.
Is there any way I can code where I get the latest time from the client side desktop and pass this information back to the R/3.
I know the portal eventing to get the time from IFrame is limited. It does not really matter if I read the time from IFrame or not. I think if I can get the client side time within the action of button click is okay.
If you need more details, please do let me know.
Thanks and Regards,
RajuRaju,
There is no way to pass any parameters to WD application except for portal eventing and start-up URL parameters.
So it is impossible "to capture the time that is displayed when a user clicks button"
But all you have to know is time shift in hours at application startup time. For this, create redirect HTML page that will get user time via JavaScript, append time as URL parameter to WD application URL and call
window.navigate(<wd-app-url-with-param>);
WD application may get this parameter and calculate time shift between user and server time. Calculate up to hours precision (time zones has only offset by hours). Store this shift value somewhere in component controller attributes.
Now when you receive IWDButton.onAction event just add / remove shift from server time and pass this value to backend.
Valery Silaev
EPAM Systems
http://www.NetWeaverTeam.com -
Hi all,
DB:11.2.0.3.0
EBS:12.1.3
O/S: Sun Solaris SPARC 64 bits
I am not able to view Forms Server version in Help: About Oracle Applications after the forms upgrade 10.1.2.3.0 after the forms upgrade 10.1.2.3.0 as per note:Upgrading OracleAS 10g Forms and Reports to 10.1.2.3 (437878.1)
Java/jre upgraded to 1.7.0.45 and JAR files regenerated(without force option). Able to opne forms without any issues.
A)
$ORACLE_HOME/bin/frmcmp help=y
FRM-91500: Unable to start/complete the build.
B)
$ORACLE_HOME/bin/rwrun ?|grep Release
Report Builder: Release 10.1.2.3.0 - Production on Thu Nov
28 14:20:45 2013
Is this an issue? Could anyone please share the fix if faced the similar issue earlier.
Thank You for your time
Regards,Hi Hussein,
You mean reboot the solaris server and then start database and applications services. We have two databases running on this solaris server.
DBWR Trace file shows:
Read of datafile '+ASMDG002/test1/datafile/system.823.828585081' (fno 1) header failed with ORA-01206
Rereading datafile 1 header failed with ORA-01206
V10 STYLE FILE HEADER:
Compatibility Vsn = 186646528=0xb200000
Db ID=0=0x0, Db Name='TEST1'
Activation ID=0=0x0
Control Seq=31739=0x7bfb, File size=230400=0x38400
File Number=1, Blksiz=8192, File Type=3 DATA
Tablespace #0 - SYSTEM rel_fn:1
Creation at scn: 0x0000.00000004 04/27/2000 23:14:44
Backup taken at scn: 0x0001.db8e5a1a 04/17/2010 04:16:14 thread:1
reset logs count:0x316351ab scn: 0x0938.0b32c3b1
prev reset logs count:0x31279a4c scn: 0x0938.08469022
recovered at 11/28/2013 19:43:22
status:0x2004 root dba:0x00c38235 chkpt cnt: 364108 ctl cnt:364107
begin-hot-backup file size: 230400
Checkpointed at scn: 0x0938.0cb9fe5a 11/28/2013 15:04:52
thread:1 rba:(0x132.49a43.10)
enabled threads: 01000000 00000000 00000000 00000000 00000000 00000000
Hot Backup end marker scn: 0x0000.00000000
aux_file is NOT DEFINED
Plugged readony: NO
Plugin scnscn: 0x0000.00000000
Plugin resetlogs scn/timescn: 0x0000.00000000 01/01/1988
00:00:00
Foreign creation scn/timescn: 0x0000.00000000 01/01/1988
00:00:00
Foreign checkpoint scn/timescn: 0x0000.00000000 01/01/1988
00:00:00
Online move state: 0
DDE rules only execution for: ORA 1110
----- START Event Driven Actions Dump ----
---- END Event Driven Actions Dump ----
----- START DDE Actions Dump -----
Executing SYNC actions
----- START DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK' (Async) -----
Successfully dispatched
----- END DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK'
(SUCCESS, 0 csec) -----
Executing ASYNC actions
----- END DDE Actions Dump (total 0 csec) -----
ORA-01186: file 1 failed verification tests
ORA-01122: database file 1 failed verification check
ORA-01110: data file 1:
'+ASMDG002/test1/datafile/system.823.828585081'
ORA-01206: file is not part of this database - wrong
database id
Thanks, -
Whats is the use of SM64 Tcode?? and about Trigger Event???
Hi
Whats is the use of SM64 Tcode?? and about Trigger Event???
Can anyone tell me??
Thanks & Regards
SenthilHi,
When scheduling a background job, you can specify it to start "after event".
If you do so, you'll have to create an event in SM62.
If a job is scheduled after event event and you trigger the event with SM64, the job will start.
Events can be raised by external systems in SAP by sending a command to a SAP application server. You can also raise event in any program using function mosule BP_EVENT_RAISE.
hope this helps....
Olivier. -
HELP about analog output video
Hello, I´m need help about analog output video in Premiere CS5 using Matrox RTX2. I need to crop a video with resolution in 1440x1080 to 4:3 in output analog. But what happens is wrong (I think). My video is in format anamorphic and the other option is 16:9 letterbox. Is there any way to crop the video without using effects. Thanks a Lot and sorry my bad english (my native language is Portuguese).
There are no 4:3 HD specifications. You'll have to put the video into a normal SD sequence, and scale it down till the top and bottom of the video meet the frame. That way the sides will be cut off.
-
Help about Warning Security IE 8.0
Hello Guys,
I need help about warning security IE 8.0.
When I try install a software from my webserver is display the following message:
I can't check the publisher.Are you sure install the software?
This file does not have a valide digital signature that verifies its publisher.
You should only install software from publishers you trust.
Well, I already enable:
Download signed ActiveX controls
Download unsigned ActiveX controls
Allow active content from CDs to run on user machines Enabled
Allow software to run or install even if the signature is invalid Enabled
Check for server certificate revocation Disabled
Check for signatures on downloaded programs Disabled
Is there somewhere I disable all settings warning's about IE or one specific GPO I need disable for this warning don't display for me?
In the same installation a lot of about file .cab are installed, only one specifc I don't have sucess.
I try some troubleshootings too:
https://social.technet.microsoft.com/Forums/windows/en-US/8f8293c4-0920-462f-9c69-0a8e3f92aa02/unknown-publishers-warning
https://www.youtube.com/watch?v=UknQn6tZZis
http://windows-3322.blogspot.com.br/2011/02/how-to-repair-activex-error.html
Thanks a lot who answer me or about any idea about my issue.This file does not have a valide digital signature that verifies its publisher.
Did you see your result
https://social.technet.microsoft.com/Forums/windows/en-US/8f8293c4-0920-462f-9c69-0a8e3f92aa02/unknown-publishers-warning
<quote>
Changing the time zone actually worked.
</quote>
Robert Aldwinckle -
This is the message when I Open Firefox:
"You're not on the latest version of Firefox. Upgrade today to get the best of the Web!"
At <Help> & <About Firefox>, it shows
Firefox
9.0.1
"Firefox is up to date"
"You are currently on the release update Channel"
One of those messages must be wrong. Either way Firefox seems to work fine otherwise. Thanks and regards, Peter SpielmanIs your homepage set to www.google.com/firefox? If so, that page is wrong. You should change your home page to about:home or some other site instead. The google.com/firefox page is no longer supported.
-
One of three user accounts on the same computer appears to not be updating to 8.0.1 correctly. One admin and one none admin user account says it is up-to-date. The other non-admin user account, under Help About Firefox says apply update, but won't.
As long as you installed MS Office into its default location (the top level /Applications folder) it will be available to all user accounts on the Mac.
As far as licensing is concerned you only have to enter the license code once, which you should do right after installing MS Office, in the same admin account you installed it from, by opening any one of the MS Office applications. There is no additional licensing required for additional user accounts on the same Mac.
Each user account is able to run the Office apps. The only thing you will have to do is go through an initial setup screen in each user account (but this setup does NOT involve entering any additional license codes).
You may have problems if you installed MS Office in a particular user account (i.e. NOT in the top level /Applications folder). -
How to Disable Check for updates button in Help/About in firefox 5.0
Hi the user should not manually check for updates so we want to disable the Check for updates button also in Help/About.
Thanks in advancedYou can hide that button with code in userChrome.css below the @namespace line.
* http://kb.mozillazine.org/userChrome.css
* http://kb.mozillazine.org/Editing_configuration
You can use the ChromEdit Plus or Stylish extension to have easier access to the customization files.
* ChromEdit Plus: http://webdesigns.ms11.net/chromeditp.html
<pre><nowiki>@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
#aboutDialog #updateBox { display:none!important; }</nowiki></pre>
You can also choose to lock the related update pref(s) to false if you want to make sure.
See:
* http://kb.mozillazine.org/Locking_preferences
* http://kb.mozillazine.org/about:config -
Is there any possibility to see full details about the event?
ipad calendar:I have no chance to read the event location fully on my ipad. It is cut and finishes with "...", thus very important meeting number cannot be seen. Is there any possibility to see full details about the event?
Thanks for quick reply.
Looks like opened the event. Here is a screen shot, I marked the cut numbers with red cirsles. -
Help about W2K Apache plug-in for WLS
Hi,everybody.
I want to use the W2K apache http server for redirect the dynamic request to
WLS. But i don't have the corresponding plug-in. Who can help me? or Who can
give me some hint about this?
Thanks in advance.
BR
Steven ZhaoHi Steven,
as far as I know there is no Apache Plugin for Windows Platform. Your
choice is either Unix->Apache or Windows->IIS. I think there is a
Netscape Plugin as well, but I don't know for which platforms.
Daniel
-----Original Message-----
From: Steven Zhao [mailto:[email protected]]
Posted At: Friday, October 20, 2000 6:02 AM
Posted To: management
Conversation: Help about W2K Apache plug-in for WLS
Subject: Help about W2K Apache plug-in for WLS
Hi,everybody.
I want to use the W2K apache http server for redirect the dynamic
request to
WLS. But i don't have the corresponding plug-in. Who can help me? or Who
can
give me some hint about this?
Thanks in advance.
BR
Steven Zhao -
Need help about Hidden Markov Model model
I want to make classification for EEG signal using Hidden Markov Model
algorithm based on neural network.
plz need help about how to implement this algorithm using LABVIEW.
if not I want another thing to make classification.
any one know information about this topic, send me a reply
thanksHave you derrived the HMM that you want to implement?
If so, post the algorithm and we can provide comments on how to implement it using LabVIEW.
Message Edited by Ray.R on 04-12-2010 12:54 PM -
Help about location based classes
Helo. i need some help about location classes(i use J2ME). i want to develop a gps compass application. when i connected to gps, orientation is shown on a compass.(for example if i go to northeast direction, compass indicator shows the direction between nort and east).
I made connecting GPS. Now i must draw a compass and show the direction informations on it. For doing this, which location classes i can use?
(i do search about this,but i didn't decide which class i should use. I thought that i can use Orientation class for this. I found a source code and tried it. According to this snippet source code about orientation class, my phone doesn't support Orientation class.But i found an application about gps compass, it works on phone. )i write this question CLDC{MIDP part.
Thanks... -
i am enrolled in the beta channel but because the notification popups are so quick i someties do not see that a new beta ver is available. i consult filehippo regularly to see what updates are out there but i want to have a way i can find what beta i'm at - Help|About Firefox doesn't get it - how can i find that? looked in registry but haven't found what i want
any idees?
ciao
sawI'm not trying to discredit your work. But I did actually read the workaround and it is valid. That is true. But still that's not an answer to my question nor an explanation for that design choice. It's a workaround for a software not displaying the exact version.
So why not jump in this thread if it exists? Why create a new thread with the same question? Also to apply your logic, why didn't anybody tell the user to use the stable version if he's incapable of figuring out the obvious? -
Which file in Omni.ja contains the version number in HELP | ABOUT
We are using Firefox in a corporate locked down environment.
we have made a number of changes to files in the OMNI.JA file to configure Firefox accordingly.
We now have a newer version of firefox to install/package however, when we replace the default omni.ja file in FF 10.0.10 and go into HELP | ABOUT it shows the version number of FF that the omni.ja file came from, ie 10.0.4.
Which file(s) need to be replaced in omni.ja so that when we select HELP | ABOUT it shows the correct version of 10.0.10 ?
regards
Billhello biffal, which changes to the omnia.ja file have you done originally? maybe there's a better way to do it, because this file will be overwritten by each & every firefox update...
Maybe you are looking for
-
Problem with ALV and EXCEL in 710...
Hi, We have BI 710 and ECC6. When using ALV-GRID and when we try to change the output to excel-inplace, we get the error: "View cannot be switched. Product not installed or integration not active"... What do i have to install? Please suggest... Regar
-
Also get an error trying to log out of ExportPDF. I know this issue has been ongoing since last year. Does anyone have a verified solution? Thanks.
-
I did a new install and went for the ext4 option, I installed everything I usually do but went with nvidia-xcofig rather than the usual Xorg -configure, now having set everything up all I get is a blank screen, I cant ctrl alt backspace to get to con
-
I'm thinking of getting an iPhone 5, but have heard people hate because of the wilt he's and the slowness. Would the 4s be better, or are the glitches on the 5 rare. Just want to know from someone who has thoroughly used the products.
-
Vendor Country field attribute
Hi, I am setting attributes to certain fields on Vendor master to swith to DISPLAY mode for a certain accoutn groups. Under general data , i dont see "COUNTRY" field. If I want to make the country field to DISPLAY mode for certian account group , how