[Proto-Scripty] Confirm() happening twice on click.
Hello. I have a page that lists records and each row has a link that goes to a page which deletes the associated record. But before the browser navigates to that page I stop it by asking the user if they really want to delete the item. If they click cancel the browser goes nowhere. If they click OK the browser navigates to the php file that deletes the record. My problem is that after the confirm() UI appears and is clicked, it appears AGAIN, then when I click again does the expected behaviour occur. What is causing that in this code? document.observe(dom:loaded, function() { // attach to all delete links in the table var dels = $$('td a.delete'); dels.each(function(s){ s.observe('click', function(event){ confirmDelete(event); } ); } ) }); function confirmDelete(event) { var ask = confirm('Are you sure you want to delete this entry?'); if(ask){ xfoo = 'follow link - delete it'; } else{ event.stop(); xfoo =' do nothing - stop event '; } } -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To view this discussion on the web visit https://groups.google.com/d/msg/prototype-scriptaculous/-/qwdMPG_i8WMJ. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
Re: [Proto-Scripty] Confirm() happening twice on click.
can you either post the HTML that you are using or post the url where it is located publicly? you can simplify your javascript this way $$('td a.delete').each(function(s){ s.observe('click', confirmDelete); } ); Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Wed, Jul 11, 2012 at 9:26 AM, thinsoldier thinsold...@gmail.com wrote: Hello. I have a page that lists records and each row has a link that goes to a page which deletes the associated record. But before the browser navigates to that page I stop it by asking the user if they really want to delete the item. If they click cancel the browser goes nowhere. If they click OK the browser navigates to the php file that deletes the record. My problem is that after the confirm() UI appears and is clicked, it appears AGAIN, then when I click again does the expected behaviour occur. What is causing that in this code? document.observe(dom:loaded, function() { // attach to all delete links in the table var dels = $$('td a.delete'); dels.each(function(s){ s.observe('click', function(event){ confirmDelete(event); } ); } ) }); function confirmDelete(event) { var ask = confirm('Are you sure you want to delete this entry?'); if(ask){ xfoo = 'follow link - delete it'; } else{ event.stop(); xfoo =' do nothing - stop event '; } } -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To view this discussion on the web visit https://groups.google.com/d/msg/prototype-scriptaculous/-/qwdMPG_i8WMJ. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en. -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
Re: [Proto-Scripty] Confirm() happening twice on click.
On Wednesday, 11 July 2012 12:37:45 UTC-4, Jason wrote: can you either post the HTML that you are using or post the url where it is located publicly? Here is the html: table thead tr thSaved/th thName/th thRename/th thDelete/th thSwitch Format/th thBrowse/th /tr /thead tbody tr td 11 Nov, 2009 /td td a class=rsslink href=savedsearches.php?cmd=rssamp;ssid=39 title=Access RSS Feed img src=/images/icons/rss_16.png Sale less than x 250 thousand /a /td td a class=rename href=user.php?cmd=savedSearchRenameFormamp;id=39Rename/a /td td a class=delete href=user.php?cmd=savedSearchDeleteamp;id=39 title=Cannot undo.img src=/images/icons/close_32.png alt=delete/a /td td a class=reformat href=user.php?cmd=savedSearchSwitchFormatamp;id=39 title=Receive this by e-mail instead. img src=/images/icons/rss_32.png img src=/images/icons/arrow_right_16.png img src=/images/icons/email_32.png /a /td td a class=browse href=search.php?cmd=searchamp;formcat=residentialamp;searchType=BUYSEARCHamp;searchOnPriceField=priceamp;island=252amp;maxprice=25img src=/images/icons/search_32.png alt=view results/a /td /tr tr td 25 Jun, 2012 /td td a class=rsslink href=savedsearches.php?cmd=rssamp;ssid=77 title=Access RSS Feed img src=/images/icons/rss_16.png All the -plexes in NP /a /td td a class=rename href=user.php?cmd=savedSearchRenameFormamp;id=77Rename/a /td td a class=delete href=user.php?cmd=savedSearchDeleteamp;id=77 title=Cannot undo.img src=/images/icons/close_32.png alt=delete/a /td td a class=reformat href=user.php?cmd=savedSearchSwitchFormatamp;id=77 title=Receive this by e-mail instead. img src=/images/icons/rss_32.png img src=/images/icons/arrow_right_16.png img src=/images/icons/email_32.png /a /td td a class=browse href=search.php?cmd=searchamp;formcat=residentialamp;searchType=BUYSEARCHamp;searchOnPriceField=priceamp;island=410amp;property_type%5B0%5D=655amp;property_type%5B1%5D=656amp;property_type%5B2%5D=657amp;property_type%5B3%5D=695img src=/images/icons/search_32.png alt=view results/a /td /tr /tbody /table you can simplify your javascript this way $$('td a.delete').each(function(s){ s.observe('click', confirmDelete); } ); But wouldn't the confirmDelete function need to be given the click event so it knows which click Event object to event.*stop*() ? -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To view this discussion on the web visit https://groups.google.com/d/msg/prototype-scriptaculous/-/u_tbuSa5zEcJ. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
Re: [Proto-Scripty] Confirm() happening twice on click.
I don't see any problems with the HTML elements and to answer your question the observe method identifies the function as the handler and passes the event object to the handler and you can get the javascript to one line if you want $$(td a.delete).invoke(observe,click,confirmDelete); Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Wed, Jul 11, 2012 at 10:40 AM, thinsoldier thinsold...@thinsoldier.comwrote: On Wednesday, 11 July 2012 12:37:45 UTC-4, Jason wrote: can you either post the HTML that you are using or post the url where it is located publicly? Here is the html: table thead tr thSaved/th thName/th thRename/th thDelete/th thSwitch Format/th thBrowse/th /tr /thead tbody tr td 11 Nov, 2009 /td td a class=rsslink href=savedsearches.php?cmd=rssamp;ssid=39 title=Access RSS Feed img src=/images/icons/rss_16.png Sale less than x 250 thousand /a /td td a class=rename href=user.php?cmd=savedSearchRenameFormamp;id=39Rename/a /td td a class=delete href=user.php?cmd=savedSearchDeleteamp;id=39 title=Cannot undo.img src=/images/icons/close_32.png alt=delete/a /td td a class=reformat href=user.php?cmd=savedSearchSwitchFormatamp;id=39 title=Receive this by e-mail instead. img src=/images/icons/rss_32.png img src=/images/icons/arrow_right_16.png img src=/images/icons/email_32.png /a /td td a class=browse href=search.php?cmd=searchamp;formcat=residentialamp;searchType=BUYSEARCHamp;searchOnPriceField=priceamp;island=252amp;maxprice=25img src=/images/icons/search_32.png alt=view results/a /td /tr tr td 25 Jun, 2012 /td td a class=rsslink href=savedsearches.php?cmd=rssamp;ssid=77 title=Access RSS Feed img src=/images/icons/rss_16.png All the -plexes in NP /a /td td a class=rename href=user.php?cmd=savedSearchRenameFormamp;id=77Rename/a /td td a class=delete href=user.php?cmd=savedSearchDeleteamp;id=77 title=Cannot undo.img src=/images/icons/close_32.png alt=delete/a /td td a class=reformat href=user.php?cmd=savedSearchSwitchFormatamp;id=77 title=Receive this by e-mail instead. img src=/images/icons/rss_32.png img src=/images/icons/arrow_right_16.png img src=/images/icons/email_32.png /a /td td a class=browse href=search.php?cmd=searchamp;formcat=residentialamp;searchType=BUYSEARCHamp;searchOnPriceField=priceamp;island=410amp;property_type%5B0%5D=655amp;property_type%5B1%5D=656amp;property_type%5B2%5D=657amp;property_type%5B3%5D=695img src=/images/icons/search_32.png alt=view results/a /td /tr /tbody /table you can simplify your javascript this way $$('td a.delete').each(function(s){ s.observe('click', **confirmDelete); } ); But wouldn't the confirmDelete function need to be given the click event so it knows which click Event object to event.*stop*() ? -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To view this discussion on the web visit https://groups.google.com/d/msg/prototype-scriptaculous/-/u_tbuSa5zEcJ. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en. -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
[Proto-Scripty] Re: Image Uploader / Thumbnail creator
I've had success with this for almost a year now. http://www.defusion.org.uk/code/javascript-image-cropper-ui-using-prototype-scriptaculous/ It allows you to define a starting point then width and height to indicate your crop area. You then send those numbers to your server side image processing script. You will need to look for something else using flash and/or canvas if you really want to create the thumbnails on the client side. Also the way I use this cropper does not involve Ajax at all. I upload the file through the browser normally then choose from a list of files the one I want to crop. The only trick then is to send the message back to the outer page that the upload is complete. That's not so tricky if using pop up windows rather than iframes (I imagine it should be a similar process with iframes) Have a link on your main page that opens a new window with the form to upload the image. Upload the image without ajax, show the uploaded image to the user with the cropping UI. Submit the numbers of the selected area back to the server to create the actual thumbnail then show a success message to the user while setting values in javascript about the url of the new thumbnail. When the user clicks to close that window you can have the JS variables passed to the parent window then script in that window can insert the thumbnail into that page. On Tuesday, 3 July 2012 13:51:56 UTC-4, ppetree wrote: I've spent the last few hours looking all over google for a prototype ajax uploader and thumbnail creator and I'm coming up blank. Has anyone found anything usable (we only need to upload one image per user) or can you point me to some docs for this? Thanks. Pete -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To view this discussion on the web visit https://groups.google.com/d/msg/prototype-scriptaculous/-/4js1JMWXNeMJ. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
Re: [Proto-Scripty] Confirm() happening twice on click.
Thanks for all your help. Thing thing has been buggin me for a very long! Could you explain what exactly was happening with my original code that made the confirm fire twice? On Wednesday, 11 July 2012 14:13:13 UTC-4, Jason wrote: I don't see any problems with the HTML elements and to answer your question the observe method identifies the function as the handler and passes the event object to the handler and you can get the javascript to one line if you want $$(td a.delete).invoke(observe,click,confirmDelete); Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Wed, Jul 11, 2012 at 10:40 AM, thinsoldier thinsold...@thinsoldier.com wrote: On Wednesday, 11 July 2012 12:37:45 UTC-4, Jason wrote: can you either post the HTML that you are using or post the url where it is located publicly? Here is the html: table thead tr thSaved/th thName/th thRename/th thDelete/th thSwitch Format/th thBrowse/th /tr /thead tbody tr td 11 Nov, 2009 /td td a class=rsslink href=savedsearches.php?cmd=rssamp;ssid=39 title=Access RSS Feed img src=/images/icons/rss_16.png Sale less than x 250 thousand /a /td td a class=rename href=user.php?cmd=savedSearchRenameFormamp;id=39Rename/a /td td a class=delete href=user.php?cmd=savedSearchDeleteamp;id=39 title=Cannot undo.img src=/images/icons/close_32.png alt=delete/a /td td a class=reformat href=user.php?cmd=savedSearchSwitchFormatamp;id=39 title=Receive this by e-mail instead. img src=/images/icons/rss_32.png img src=/images/icons/arrow_right_16.png img src=/images/icons/email_32.png /a /td td a class=browse href=search.php?cmd=searchamp;formcat=residentialamp;searchType=BUYSEARCHamp;searchOnPriceField=priceamp;island=252amp;maxprice=25img src=/images/icons/search_32.png alt=view results/a /td /tr tr td 25 Jun, 2012 /td td a class=rsslink href=savedsearches.php?cmd=rssamp;ssid=77 title=Access RSS Feed img src=/images/icons/rss_16.png All the -plexes in NP /a /td td a class=rename href=user.php?cmd=savedSearchRenameFormamp;id=77Rename/a /td td a class=delete href=user.php?cmd=savedSearchDeleteamp;id=77 title=Cannot undo.img src=/images/icons/close_32.png alt=delete/a /td td a class=reformat href=user.php?cmd=savedSearchSwitchFormatamp;id=77 title=Receive this by e-mail instead. img src=/images/icons/rss_32.png img src=/images/icons/arrow_right_16.png img src=/images/icons/email_32.png /a /td td a class=browse href=search.php?cmd=searchamp;formcat=residentialamp;searchType=BUYSEARCHamp;searchOnPriceField=priceamp;island=410amp;property_type%5B0%5D=655amp;property_type%5B1%5D=656amp;property_type%5B2%5D=657amp;property_type%5B3%5D=695img src=/images/icons/search_32.png alt=view results/a /td /tr /tbody /table you can simplify your javascript this way $$('td a.delete').each(function(s){ s.observe('click', **confirmDelete); } ); But wouldn't the confirmDelete function need to be given the click event so it knows which click Event object to event.*stop*() ? -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To view this discussion on the web visit https://groups.google.com/d/msg/prototype-scriptaculous/-/u_tbuSa5zEcJ. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en. -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To view this discussion on the web visit https://groups.google.com/d/msg/prototype-scriptaculous/-/wwHOXznXcpYJ. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
Re: [Proto-Scripty] Confirm() happening twice on click.
Honestly I'm not exactly sure there is a possibility that the observe method was calling confirmDelete instead of just tagging it as the event handler Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Wed, Jul 11, 2012 at 12:06 PM, thinsoldier thinsold...@thinsoldier.comwrote: Thanks for all your help. Thing thing has been buggin me for a very long! Could you explain what exactly was happening with my original code that made the confirm fire twice? On Wednesday, 11 July 2012 14:13:13 UTC-4, Jason wrote: I don't see any problems with the HTML elements and to answer your question the observe method identifies the function as the handler and passes the event object to the handler and you can get the javascript to one line if you want $$(td a.delete).invoke(observe,**click,confirmDelete); Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Wed, Jul 11, 2012 at 10:40 AM, thinsoldier thinsold...@thinsoldier.com wrote: On Wednesday, 11 July 2012 12:37:45 UTC-4, Jason wrote: can you either post the HTML that you are using or post the url where it is located publicly? Here is the html: table thead tr thSaved/th thName/th thRename/th thDelete/th thSwitch Format/th thBrowse/th /tr /thead tbody tr td 11 Nov, 2009 /td td a class=rsslink href=savedsearches.php?cmd=**rssamp;ssid=39 title=Access RSS Feed img src=/images/icons/rss_16.png** Sale less than x 250 thousand /a /td td a class=rename href=user.php?cmd=**savedSearchRenameFormamp;id= **39Rename/a /td td a class=delete href=user.php?cmd=**savedSearchDeleteamp;id=39 title=Cannot undo.img src=/images/icons/close_32.**png alt=delete/a /td td a class=reformat href=user.php?cmd=** savedSearchSwitchFormatamp;**id=39 title=Receive this by e-mail instead. img src=/images/icons/rss_32.png** img src=/images/icons/arrow_**right_16.png img src=/images/icons/email_32.**png /a /td td a class=browse href=search.php?cmd=search** amp;formcat=residentialamp;**searchType=BUYSEARCHamp;** searchOnPriceField=priceamp;**island=252amp;maxprice=**25img src=/images/icons/search_32.**png alt=view results/a /td /tr tr td 25 Jun, 2012 /td td a class=rsslink href=savedsearches.php?cmd=**rssamp;ssid=77 title=Access RSS Feed img src=/images/icons/rss_16.png** All the -plexes in NP /a /td td a class=rename href=user.php?cmd=**savedSearchRenameFormamp;id= **77Rename/a /td td a class=delete href=user.php?cmd=**savedSearchDeleteamp;id=77 title=Cannot undo.img src=/images/icons/close_32.**png alt=delete/a /td td a class=reformat href=user.php?cmd=** savedSearchSwitchFormatamp;**id=77 title=Receive this by e-mail instead. img src=/images/icons/rss_32.png** img src=/images/icons/arrow_**right_16.png img src=/images/icons/email_32.**png /a /td td a class=browse href=search.php?cmd=search** amp;formcat=residentialamp;**searchType=BUYSEARCHamp;** searchOnPriceField=priceamp;**island=410amp;property_type%** 5B0%5D=655amp;property_type%**5B1%5D=656amp;property_type%** 5B2%5D=657amp;property_type%**5B3%5D=695img src=/images/icons/search_32.**png alt=view results/a /td /tr /tbody /table you can simplify your javascript this way $$('td a.delete').each(function(s){ s.observe('click', **confirmDele**te); } ); But wouldn't the confirmDelete function need to be given the click event so it knows which click Event object to event.*stop*() ? -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To view this discussion on the web visit https://groups.google.com/d/** msg/prototype-scriptaculous/-/**u_tbuSa5zEcJhttps://groups.google.com/d/msg/prototype-scriptaculous/-/u_tbuSa5zEcJ . To post to this group, send email to prototype-scriptaculous@** googlegroups.com prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+** unsubscr...@googlegroups.comprototype-scriptaculous%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/** group/prototype-scriptaculous?**hl=enhttp://groups.google.com/group/prototype-scriptaculous?hl=en . -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To view this discussion on the web visit https://groups.google.com/d/msg/prototype-scriptaculous/-/wwHOXznXcpYJ. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en. -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send
Re: [Proto-Scripty] Re: Image Uploader / Thumbnail creator
Thin, Thanks, that's a really great find... I'll work on adding that in over the next week or so. Greg shared his image uploader (iframe) code and was very patient and helped me get that up and running... it was quite tricky as the json response to an iframe had some very unexpected results. We now have a css/div popup that prompts for an image, on submit it uploads the image via a hidden iframe, the server storage code updates mysql, stores the image on disk, sends some json back to the client with the new img src= and the client takes that and updates the image on the client side with the new image. All in all, pretty neat. And Greg, thanks again! Pete On Wed, Jul 11, 2012 at 2:18 PM, thinsoldier thinsold...@thinsoldier.comwrote: I've had success with this for almost a year now. http://www.defusion.org.uk/code/javascript-image-cropper-ui-using-prototype-scriptaculous/ It allows you to define a starting point then width and height to indicate your crop area. You then send those numbers to your server side image processing script. You will need to look for something else using flash and/or canvas if you really want to create the thumbnails on the client side. Also the way I use this cropper does not involve Ajax at all. I upload the file through the browser normally then choose from a list of files the one I want to crop. The only trick then is to send the message back to the outer page that the upload is complete. That's not so tricky if using pop up windows rather than iframes (I imagine it should be a similar process with iframes) Have a link on your main page that opens a new window with the form to upload the image. Upload the image without ajax, show the uploaded image to the user with the cropping UI. Submit the numbers of the selected area back to the server to create the actual thumbnail then show a success message to the user while setting values in javascript about the url of the new thumbnail. When the user clicks to close that window you can have the JS variables passed to the parent window then script in that window can insert the thumbnail into that page. On Tuesday, 3 July 2012 13:51:56 UTC-4, ppetree wrote: I've spent the last few hours looking all over google for a prototype ajax uploader and thumbnail creator and I'm coming up blank. Has anyone found anything usable (we only need to upload one image per user) or can you point me to some docs for this? Thanks. Pete -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To view this discussion on the web visit https://groups.google.com/d/msg/prototype-scriptaculous/-/4js1JMWXNeMJ. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en. -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
[Proto-Scripty] Re: prototyp.js is receiving a null value
Not entirely sure on how to go about verifying xml for certain. I do not see any XML related to this chunk of code. Also there may be some iframe 'interference'. On Monday, July 9, 2012 7:28:53 PM UTC-7, MelRauinAZ wrote: Hi, 'star' to state is working on original site: www.powerfields.com (dealer locator) click on any state to see the 'star' working ported the scriptaculous code here in joomla (new site) but it does not work. ;( http://powerfields.com/powerfieldsjm/dealer-locator Console indicates that prototype.js is receiving a null value. I have attempted several fixes, to no avail. Would someone like to give me some pointers as to what to look for that may be missing? Let me know what you need to see to help with the trouble shooting. Thanks Mel 602.300.0059 -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To view this discussion on the web visit https://groups.google.com/d/msg/prototype-scriptaculous/-/mT_btSijijIJ. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
[Proto-Scripty] Re: prototyp.js is receiving a null value
On Wednesday, July 11, 2012 4:25:04 PM UTC-7, MelRauinAZ wrote: On the back end when i ported this code I did not see any XML related to it. Also there may be some iframe 'interference'. On Monday, July 9, 2012 7:28:53 PM UTC-7, MelRauinAZ wrote: Hi, 'star' to state is working on original site: www.powerfields.com (dealer locator) click on any state to see the 'star' working ported the scriptaculous code here in joomla (new site) but it does not work. ;( http://powerfields.com/powerfieldsjm/dealer-locator Console indicates that prototype.js is receiving a null value. I have attempted several fixes, to no avail. Would someone like to give me some pointers as to what to look for that may be missing? Let me know what you need to see to help with the trouble shooting. Thanks Mel 602.300.0059 -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To view this discussion on the web visit https://groups.google.com/d/msg/prototype-scriptaculous/-/iSu61FGrVDYJ. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.