Events listening to Image with map not triggered after DOM manipulation
Hi again,
I am rephrasing the issue that I had posted earlier today and assume that reproducing the issue wasn't clearly mentioned.
ISSUE:
After the DOM is updated with new image and corresponding image map, events assigned to the div containing the img and map, do not respond or get triggered.
*TO REPRODUCE:*
Click on the link below. There appears an image that has image map. Mouse over any of the two boxes and notice that corresponding area ID appears in the red colored box placed below the image.
(Until here all browsers behave the same. So far so good ...).
Now click on one of the two boxes (image) and then a new page is loaded that has a new image and corresponding image map to it.
Now the new image has 4 pink colored boxes. Mouse over any of the boxes and the red colored box should now display the area id corresponding to the box.
Red colored box below the image is updated with the area id of the box and you mouse over any of the 4 boxes in all the browser EXCEPT IN SAFARI.
Further, (in all browsers except safari) click on the image and a again a new page is loaded and mouse over and click event are trigerred.
As long as we mouse over the image, red box gets updated with the area id corresponding to that of the box from the image.
Also as long as we click a new page is loaded with new image (there are 3 images that are in loop).
*LINK TO SAMPLE:*
I recommend you to try this either in Firefox or IE before you do on Safari (to see the normal, expected behaviour first).
http://www.hivegroup.com/safari/test.html
All inputs on this issue are welcome and greatly appreciated.
Thanking you in advance.
Regards,
Shashi.
Thanks for advice Reverse_parn. And I did report the bug to Apple, like you said.
And, finally did you notice the wrong behaviour in Safari ?
Regards,
Shashi
Similar Messages
-
925685 - Approval process is not triggered after documents are added
Hi there,
I was wondering if anyone found already a solution for the following problem.
According to SAP Note: 925685 - Approval process is not triggered after documents are added.
Within our SAP application, we want to approve purchase orders for departments based upon the document total.
I was very astonished that employees are able to add a PO which will not trigger an approval stage and after the document is added, they have the possibility to change the document and at the update moment no approval will be started even if the document meets the approval requirements.
Therefore I really want the flexibility to give users the possibility to change their PO.
Meanwhile, documents which are added under approval, are also locked for changes, although this is another question it is also pretty annoying!
I hope anyone has already found a method or work around for the stated problems above.
(We are using SAP 8.8 PL 20)
Thanks in advance.
Kind regards,
MarcelHi Kambadasan,
Thank you for your reply
I'm sorry but I know how the approval templates work and they are configured correctly, however as SAP also mentioned in their own Note, this is due to the lack of SBO that SAP has such behaviour.
Hi Gordon,
Thanks for your reply.
Unfortunately I have not found the post you mentioned...
I will post my issue alson on the topic you mentioned.
Hopefully they found a solution or maybe version 8.81 will solve the problem.
Thanks a lot!!
Kind regards,
Marcel -
Wifi connection with 4s not working after installing new software ios6
wifi connection with 4s not working after installing ios 6.
Go to Settings > WiFi > Select your network and hit the right arrow to "Forget Network"
Then go to Settings > General > Reset Network Settings and try connecting again when the phone restarts. -
Maps not responding after ios6 upadation on ipad2
Maps not responding after ios6 upadation on ipad2
Close the Map app on the Task Bar and re-launch.
1. Double-click the Home button to reveal Task Bar
2. Hold Map app down for a second or two until you see the minus sign
3. Tap the minus sign to close app
4. Tap area above Task Bar to return to Home screen -
Can't remove event listener from Image
I'm clearly missing something and would appreciate some help. I'm trying to run an event handler when an Image completes loading, then remove the handler so that it won't run again should the image be reloaded later.
The problem that I'm having is that the event handler simply wont' go away, despite calling removeEventListener on the Image object.
The following example demonstrates the problem (the example doesn't actually do anything useful...it's just the shortest example to demonstrate the problem). (To run the app, you'll have to provide any ol' JPEG file named "myImage.jpg" in the "src" directory of your project).
What I expect to happen is :
1) on startup, the image loads and loadComplete() runs.
2) loadComplete removes the event Listener so that subsequent re-loads won't re-fire the handler. I only want the handler to run once.
3) "loadComplete" shoudl be displayed in the Debug console.
4) A button click should display only "Changing Image" in the Debug console
What I get instead is that the loadComplete handler isn't removed, and every time I click the button, loadComplete runs when the image is re-loaded (i.e., every button click results in both "Change Image" AND "loadComplete" being displayed in the Debug console).
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Image width="655" height="181" source="myImage.jpg" id="myImage" autoLoad="true" scaleContent="true" complete="loadComplete()" x="100" y="100"/>
<mx:Button x="100" y="341" label="Button" click="click(event)"/>
<mx:Script>
<![CDATA[
private function loadComplete():void
trace ("loadComplete");
myImage.removeEventListener("complete", loadComplete);
private function click(evt:Event):void
trace ("Changing Image");
myImage.load("myImage.jpg"); // Reload same image; it's just an example
]]>
</mx:Script>
</mx:Application>Hi,
You can remove only event listeners that you added with the addEventListener() method in an ActionScript block. You cannot remove an event listener that was defined in the MXML tag, even if it was registered using a call to the addEventListener()method that was made inside a tag attribute.
Check this page for reference.
http://livedocs.adobe.com/flex/3/html/help.html?content=events_05.html
You can modify the code a bit a get it working
<mx:Image width="655" height="181" id="myImage" scaleContent="true"
x="100" y="100"
creationComplete="myImage_creationCompleteHandler(event)"/>
private function myImage_creationCompleteHandler(event:FlexEvent):void
myImage.addEventListener("complete",myImage_completeHandler);
myImage.load("myImage.jpg");
private function myImage_completeHandler(event:Event):void
myImage.removeEventListener("complete",myImage_completeHandler); -
DATA_CHANGED event handler is not triggered after input.(OO ALV)
Dear Experts,
What I did:
I register Enter as the trigger event for data_changed event, and I put my checking logic in data_changed_handler which is a method of a local class. When the checking fails, I put messages using er_data_changed->add_protocal_entry to show messages.
My checking is simple, if the cell is empty, error messages pops up tells that this cell can not be blank for this row.
My problem:
When there is no entry in the alv list(Only this situation), I insert a new entry, the cell which is required is empty, I press Enter, data_changed event is triggered, the message pops up saying that the cell is required. Then close the pop up message window, I input something in the cell, and press enter. The data_changed event is not triggered.
Is there any1 has any ideas on this problem?
Vicnent
Edited by: Changjiu Tan on Sep 7, 2009 1:33 PMMETHOD HANDLE_DATA_CHANGED. "#EC NEEDED
*<<< BEGIN MODIFY EXAMPLE CODE
* u4FDDu5B58u30C7u30FCu30BFu3092u7DE8u96C6u3059u308Bu3000START
DATA: LW_INS TYPE LVC_S_MOCE,
LV_FNAME TYPE LVC_FNAME,
LW_MOD TYPE LVC_S_MODI,
LV_MAX TYPE I,
LV_RES(12) TYPE C,
LW_LIST TYPE ZTSRE012,
LV_ROWID TYPE LVC_S_ROID,
LT_MOD TYPE LVC_T_MODI,
LV_COLID TYPE LVC_S_COL,
LV_ROW_ID TYPE LVC_S_ROW,
LV_COL_ID TYPE LVC_S_COL.
* u73FEu5728u306Eu30D5u30A9u30FCu30ABu30B9u4F4Du7F6Eu3092u53D6u5F97
CALL METHOD GO_ALV_GRID7->GET_CURRENT_CELL
IMPORTING
ES_ROW_ID = LV_ROW_ID
ES_COL_ID = LV_COL_ID.
LOOP AT GT_LIST INTO LW_LIST.
IF LW_LIST-ID > LV_MAX.
LV_MAX = LW_LIST-ID.
ENDIF.
ENDLOOP.
* u30B0u30EBu30FCu30D7ID
LV_FNAME = CNS_ID.
LOOP AT ER_DATA_CHANGED->MT_INSERTED_ROWS INTO LW_INS.
LV_MAX = LV_MAX + 1.
CALL METHOD ER_DATA_CHANGED->MODIFY_CELL
EXPORTING
I_ROW_ID = LW_INS-ROW_ID
I_FIELDNAME = LV_FNAME
I_VALUE = LV_MAX.
ENDLOOP.
CLEAR: LV_FNAME.
LT_MOD[] = ER_DATA_CHANGED->MT_GOOD_CELLS[].
* u30C7u30FCu30BFu30C1u30A7u30C3u30AF
LOOP AT LT_MOD INTO LW_MOD.
IF LW_MOD-FIELDNAME = CNS_ZZTTSN.
LV_COLID-FIELDNAME = LW_MOD-FIELDNAME.
LV_ROWID-ROW_ID = LW_MOD-ROW_ID.
CALL METHOD GO_ALV_GRID7->SET_CURRENT_CELL_VIA_ID
EXPORTING
IS_COLUMN_ID = LV_COLID
IS_ROW_NO = LV_ROWID.
CALL METHOD GO_ALV_GRID7->GET_CURRENT_CELL
IMPORTING
E_VALUE = LV_RES.
IF LV_RES IS INITIAL.
CALL METHOD ER_DATA_CHANGED->ADD_PROTOCOL_ENTRY
EXPORTING
I_MSGID = CNS_MSGID
I_MSGTY = CNS_MSGTY
I_MSGNO = CNS_MSGNO
I_FIELDNAME = LW_MOD-FIELDNAME
I_ROW_ID = LW_MOD-ROW_ID.
ENDIF.
CALL METHOD ER_DATA_CHANGED->MODIFY_CELL
EXPORTING
I_ROW_ID = LW_MOD-ROW_ID
I_FIELDNAME = LW_MOD-FIELDNAME
I_VALUE = LV_RES.
ENDIF.
CLEAR: LV_RES,
LV_COLID,
LV_ROWID.
ENDLOOP.
CALL METHOD GO_ALV_GRID7->SET_CURRENT_CELL_VIA_ID
EXPORTING
IS_ROW_ID = LV_ROW_ID
IS_COLUMN_ID = LV_COL_ID.
ENDMETHOD. "handle_data_changed
Edited by: Changjiu Tan on Sep 7, 2009 1:31 PM
Edited by: Changjiu Tan on Sep 7, 2009 1:32 PM -
PAI is not triggered after I choose value in F4
Hello experts,
I fight with the following problem:
On my screen I use input field (ucf_s_coi_afd03_ct-xrproc_param) and I coded the F4 help for it manually
PROCESS ON VALUE-REQUEST.
FIELD ucf_s_coi_afd03_ct-xrproc_param
MODULE req_xrproc_param_2006.
After I press f4 on this field, the values are correctly listed but after I choose one value (double click), I would expect that the PAI is triggered but it is not. I have to press ENTER, only then.
Is there a way how to trigger the PAI after the value is chosen?
I found one way, but I don't want to use it:
If I change the input field into "List box" or "List box with key", then I can assign function code to it and if I do that, then it works - PAI is triggered after value is chosen. However, I don't want to use list box, I need standard input field.
Any ideas?
Regards,
Tomas>
Jonathan Coleman wrote:
> Rather than triggering the PBO in order to fill in other fields on the screen from your POV event, the usual approach I've seen is to call the function DYNP_VALUES_UPDATE (which is quite well documented) e.g. you could get a customer number from your F4 dropdown, then retrieve their name and address and populate that data back into the screen all from within the "process on value-request" module logic.
>
> Jonathan
The original problem (or at least my orignal problem) which was solved by the SUPPRESS DIALOG was how to trigger my PAI validation - not the PBO though that of course follows on afterwards - immediately on selecting a value from a search help in order to carry out a further check on the value selected. I've used DYNP_VALUES_UPDATE in other situations, but it was not a suitable solution for me here. -
PO change output not triggered after deletion of line item
Hello SAP experts,
I have one issue with PO output
I have created PO with output type & we are outputing through ME9F( 3- Send with application own transaction)
Below is the sequence,
1.PO created & outputed thru ME9F
2.Now ,i added the line item in the PO,Output triggred but not processed.
3.I deleted the line item immedietely,Output not triggered.
(My question is Why the output is not tiggered?)
4.I outputed it through ME9F,vendor will receive only 1st output & never get the 2nd o/p for the deletion of item.
I am clear that after processsing the 1st output,then only i can process the 2nd.
But in business point of view,this scene created the problem.
Please provide your valuable input.Hi,
In IMG - Materials Management- Purchasing-Messages - Fields relevant to Print out of changes
Enter Table EKPO , Reference Field LOEKZ, tick on change print relevant for purchase order,in routine enter 03.
Now your Output will be triggered with a change indicator and you can process it using ME9F.
Regards
Chandra Shekhar -
N82 Maps not loading after Memory format! HELP!
Right
My memory card started to cause the phone to hang, so formated it from phone.
Reinstalled maps via maploader, but they dont load.
Then reinstalled firmware, same ver, reinstalled maps, same.
Factory reset phone, formated memory card. Ran maps once, downloaded maps via maploader, still no maps.
Tried above with maps v2.0 also.
Only way to make it work is restore original backup of memory card, made when i got phone. works, but is not the way is ment to be, looks like a few ppl are having similar issues, problem with map loader???I was having the same problem, but it's working now .. hope this helps
Firstly, make sure you go to the app. manager on your phone (usually found in the applications folder) and delete the nokia maps 2 from there.
Also reformat your memory card.
Then do what needtogetfit posted but I've made it step by step for ppl like me LOL):
Connect your phone to your computer using the "data transfer" NOT PC Suite. A folder should show up, if not, go to 'my computer' and it will be there as "memory card" or whatever you have named your card.
Open it and you will see a few files in there. Make sure you delete the folder "cities" or "diskcashe" if it is still there and also delete a file called qf-file. (for some reason they seem to stay there even after a reformat etc and that's what seems to stop the maps from being seen properly)
I also made sure I had 'show hidden files' checked in the tools/folder options/view so I could see if they were hidden or not.
I then installed the nokia maps from my computer onto my phone via PC suite.
Open up your maps (it may take awhile cause it's starting a new directory structure on your memory card to replace the ones you deleted)... and allow it to connect to the internet briefly so you can get satellite coverage. (dont panic, you will still only see a green page, but if you zoom out you should at least now see your country etc)
Once you've done that, close and connect your phone to your computer using the "data transfer" and open up the map loader program and download your countries maps + voices you may want.
Once done, go back to your maps and you will find that all the streets will be showing once again!!
I hope this helps, it worked for me and I tried it on two different reformatted cards that weren't working before this. -
Release strategy for RFQ's not triggered after change
Folks,
Release strategy is active for RFQ's. In case of initial creation, the release strategy is active. After releasal a change is made to the existing RFQ. However, the release strategy is not triggered. Characteristics used are:
1) document type (AN)
2) purchasing type (RFQ purchasing document)
It is obvious that these characteristics will not re-trigger the release strategy. On header level, there is no field in CEKKO available to re-trigger, for example total quantity? Any suggestions for a characteristic that can re-trigger the RS?
Message was edited by:
MdZHi,
For RFQ Release strategy will be applicable only for Document type.No other characteristics will apply for that.
As RFQ don't have any specific table where the data is stored related to RFQ.
So we Use CEKKO which only identifies the document type of RFQ.
In your case in initial process while creating the RFQ release strategy is active.
What change you have made to the Released RFQ.
rgds
Chidanand -
Images in Amazon not loading after upgrade to 10.7.5
Hi, I am running 10.7.5 on a Macbook Intel Core 2 Duo (2007) - Images now do not appear to load in any browser (Safari, Chrome or Firefox) on Amazon. Images will however load on eBay for instance. Problem is recent and may be related to the 10.7.5 security upgrade installed last week. Anybody else seeing this issue or know of a solution? Thanks!
Restart your internet modem and wi-fi router if you use one then see if a browser will load images.
-
HERE maps not working after update
I have a Lumia 822, and after installing the updates yesterday, HERE maps (formerly Nokia Maps) crashes immediately after finding my location. I literally can't do anything with the app.
This doesn't seem to be an isolated problem (Several users at WPCentral commented on it), but I haven't seen anything in the Nokia Support discussions yet, so figured I'd open up the floor.
Anyone else experiencing issues?Do you have any suspicions as to what may have started it working again? Did you restart or reboot the phone or anyting like that?
-
Sounds with Buzz not playing after upload
Hi,
So I have a project that works fine testing in browsers but when I upload it I get no sound. I have the sounds saved in oog, mp3, and wav. The file structure is the same, buzz script is uploaded as well as the sounds folder. I did change the html file name to index.
Does anyone have any ideas on why the sounds wont play?
ThanksThanks for responding. Sorry I had forgoten the link.
http://briancschneider.com/zip/web
I'm not using edgecommons. I'm using buzz! for the sounds.
Checking other threads on sound was very helpful in getting the sound set-up. I've been unable to find a thread about sounds not playing after upload except certain formats not playing in some browser. That shouldn't be my issue since I have the sounds in multiple formats, but I'm obviously overlooking something so... -
Processing Binary files with Mapping NOT (always) possible ??
Hello All,
I need your help solving this strange behaviour of XI.
I am developing a (image)file to (image)file interface with a simple mapping but XI is giving unpredictable results.
Processing the same inputfile e.g. 10 times after each other: results in 6 times OK and 4 times errormessage in SXMB_MONI. After restarting the 4 errormessages sometimes 1 or 2 msg are suddenly processed fine ??!!
The given error is always: "Parsing an empty source. Root element expected!". But why are the
other 6 messages are processed OK ? Why not all the 10 messages returns with error ??
My scenario is :
1) File FTP Sender: pick up image-files (.gif) from FTP-server (30.000 per day)
2) XI mapping: A) via Java program convert file into Base64, otherwise no mapping is possible at all
B) via UDF fill few outputfields only using the inputfilename. There is no need to go "inside" the
inputfile; just get the filename using Dynamic Configuration.
3) File FTP Sender: After message processing store the inputfile on the SAP filer in a particular
directory derived from the filename. Creating the directory and moving the file is done by an OS script in the sender file adapter.
4) XI Receiver HTTP: after succesfull processing the payload is filled with the correct fields.
The cause of error is (sometimes) using the DynamicConfiguration in the UDF, but a few fields must be filled using the inputfilename.
Has someone experienced this before or an other solution/idea to make this scenario stable and robust ??
Regards,
JackJack,
I may not have understood your scenario in full, however, an alternate solution could be to write a custom XI module and attach it to the file adapter. You could access the file name inside the module as well(See SAP Note 819761).
You should get a lot of articles/blogs in SDN on custom XI module creation and deployment to the server via NWDS. Give a thought on these lines as well.
Are you using any third party APIs to base64 encode your files, If so i beleive you will have to include them in the librarries in NWDS and deploy them to the XI server.
Thanks
Saravana -
DisplayExecution event not triggered after sequencefile execution
I have a problem now with my customized Test UI developed in C#.
In my own PC, my codes works well:
this.axSequenceFileViewMgr1.GetCommand(CommandKinds.CommandKind_ExecutionEntryPoints_Set, 0).Execute(true);
// Run sequence---> This goes to DisplayExecution event
private void axApplicationMgr1_DisplayExecution(object sender, NationalInstruments.TestStand.Interop.UI.Ax._ApplicationMgrEvents_DisplayExecutionEvent e)
this.axExecutionViewMgr1.Execution = e.exec;
However, when I run this UI in another PC, which installed same softwares as mine, the DisplayExecution can not be triggered.
And I found that the count of Executions in axApplicationMgr1 is always 0 after the command execute.
I'm using TestStand 2014, 64bits version.
C# in Visual studio 2010.
Please advise where may go wrong in my code or the PC environment for my problem.
Thanks alot!I figured out the reason of this issue by myself.
The failure of not doing the GetCommand.Execute() is due to the user login issue.
During my development I feel the login window is annoying so I disabled it by setting axApplicationMgr1.LoginOnStart to false.
I'm not sure why it works in my PC but not in others. -> Maybe someone can advise on this point?
So my current solution is to catch the UserChanged event after the login then to open the sequence file and execute it.
Hope this is helpful to those meet similar issues.
Maybe you are looking for
-
ITunes Match keeps repeating and Sonos Play 5!
So this note has two pieces to it, one related to iTunes Match and the other is Sonos Play 5. First an observation about the iTunes Match repeating problem. I wanted to start using iTunes Match for a couple of reasons so I started to run it. It we
-
Moved: Creation of new iViews not possible because templates missing
Hello, sorry I moved this issue to "Portal Content Development" Creation of new iViews not possible because templates missing Regards Alex Message was edited by: Alexander Lepka
-
ItUNES DOES NOT OPEN ON WINDOWS 8
iTunes does not open on windows 8
-
Limited number of 5 concurrent VPN (ipsec/l2tp) connections to OSX Server
We've configured OS X 10.6 Server on XServe to accept VPN connections either via PPTP or via IPSEC/L2TP using a PreSharedKey. When multiple clients try to connect using IPSec/L2TP, we experience problems as soon as 5 users are connected. No additiona
-
Guys please tell me apple's email adress
please guys is important