Issue 254: Show Title in Iframe
Status:  WontFix
Owner: ----
Closed:  Jul 2009
Reported by haluza...@gmail.com, May 25, 2009
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 25, 2009
#1 haluza...@gmail.com
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
May 26, 2009
#2 haluza...@gmail.com
To show Title use title attribute on "from" element.

May 28, 2009
Project Member #3 nyro...@gmail.com
Is the iframe in the same domain than the pahe which opened the page?
May 28, 2009
#4 haluza...@gmail.com
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
Project Member #5 nyro...@gmail.com
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
Project Member #6 nyro...@gmail.com
(No comment was entered for this change.)
Status: WontFix
Feb 17, 2010
#7 openCode...@gmail.com
Anyone knows how to fix this??? Haluzator, how did u solve it?

Please help
Feb 17, 2010
#8 haluza...@gmail.com
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
#9 openCode...@gmail.com
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