| Issue 254: | Show Title in Iframe | |
| 3 people starred this issue and may be notified of changes. | Back to list |
|
I want set Title for my modal window, but for Iframe doesnt work. Row of code 1208: if (currentSettings.title) setTitle(); currentSettings.title always contains empty string. Thank you
May 26, 2009
To show Title use title attribute on "from" element.
May 28, 2009
Is the iframe in the same domain than the pahe which opened the page?
May 28, 2009
Yes, of course. in the same domain. Thank you for help, I solved problem to show title in iframe content. Second idea is: to set title attribute on element
May 30, 2009
what did you mean by "Second idea is: to set title attribute on element". Could you tell us more about your idea pleas?
Jul 9, 2009
(No comment was entered for this change.)
Status:
WontFix
Feb 17, 2010
Anyone knows how to fix this??? Haluzator, how did u solve it? Please help
Feb 17, 2010
Hi. If you set 'title' attribute to link and also set 'target' attribute to '_blank', so iframe will be showed with this title.
Feb 18, 2010
Hi!! Thanks for the quick response. I did try that before without success... but now I made it... I had to set titleFromIframe to false in order to make it work. I don't know if you needed it, but its the only way it works for me. Thanks anyway. Regards |
||||||||
Row 139: $.nyroModalSettings = function(settings, deep1, deep2) { setCurrentSettings(settings, deep1, deep2); if (!deep1 && modal.started) { if (modal.bg && settings.bgColor) currentSettings.updateBgColor(modal, currentSettings, function() { }); if (modal.contentWrapper && settings.title) setTitle(); deep1 is always undefined