User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ColdFusion section within the Web Development category of DaniWeb, a massive community of 427,190 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,211 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ColdFusion advertiser: Programming Forums

cfwindow show

Join Date: Dec 2007
Posts: 1
Reputation: tiggi is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
tiggi tiggi is offline Offline
Newbie Poster

cfwindow show

  #1  
Dec 31st, 2007
Hi,

I need some help with cfwindows, I got a page with few buttons in a cfform that initialize cfwindows with source in another page. Everything works as it should cept that when I click on 1 button the rest don't work. I am getting an error "error processing JavaScript in markap for element "window.name_body"

this is my code

  1. <cfajaximport tags="cfform">
  2. <cfform name="myform">
  3.  
  4. <cfinput type="button" name="mybutton3" value="Add Experience"
  5. onclick="javascript:ColdFusion.Window.show('experience')"><br />
  6. <cfinput type="button" name="mybutton3" value="Add Education"
  7. onclick="javascript:ColdFusion.Window.show('education')"><br />
  8. <cfinput type="button" name="mybutton3" value="Related Coursework"
  9. onclick="javascript:ColdFusion.Window.show('coursework')"><br />
  10. <cfinput type="button" name="mybutton3" value="Activities"
  11. onclick="javascript:ColdFusion.Window.show('activities')">
  12.  
  13. </cfform>
  14. <cfwindow x="210" y="100" width="550" height="480" name="education" modal="true"
  15. minHeight="400" minWidth="400"
  16. title="Education" initshow="false"
  17. source="education.cfm"/>
  18.  
  19. <cfwindow x="210" y="100" width="570" height="480" name="experience"
  20. minHeight="400" minWidth="400"
  21. title="Experience" initshow="false"
  22. source="experience.cfm" />
  23.  
  24. <cfwindow x="210" y="100" width="570" height="480" name="activities" modal="true"
  25. minHeight="400" minWidth="400"
  26. title="Activities" initshow="false"
  27. source="activities.cfm" />
  28.  
  29. <cfwindow x="210" y="100" width="570" height="480" name="coursework" modal="true"
  30. minHeight="400" minWidth="400"
  31. title="Coursework" initshow="false"
  32. source="courseWork.cfm" />
  33.  
And then one of the window sources, coursework.cfm
  1. <cfform name="coursework" format="flash">
  2. <cfformgroup type="page" label="Related Coursework">
  3. <cfinput type="text" name="Coursework" label="Description:" size="40" height="100"/>
  4. </cfformgroup>
</cfform>
AddThis Social Bookmark Button
Reply With Quote  
All times are GMT -4. The time now is 10:07 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC