NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Ubaidullah on November 04, 2020, 05:02:43 AM

Title: Adding variable on menu line
Post by: Ubaidullah on November 04, 2020, 05:02:43 AM
Hi Bruce,

I want to display a variable to the right side of the "Double Drop" menu.

I need to add something like this after the <li> elements for the menu options:
<li style="float:right;"><!-- Net:s:UserName --></li>

https://pasteboard.co/JyNJI2z.png

I will appreciate your advice on how to do this.

ps. is there a way to paste inline images in this forum? tried the [img] tag but couldn't get it to work.

Thanks
&
Regards,
Ubaidullah Nubar.
Title: Re: Adding variable on menu line
Post by: Jane on November 04, 2020, 06:52:21 AM
Can't you just display a string and put it where you want with CSS?

BTW, img tag works.  But apparently pastebord.co won't allow that.
(https://pasteboard.co/JyNJI2z.png)

This image hosted on my website works fine with the tag:
(https://www.beachbunnysoftware.com/clarion/images/ButtonBootstrap3.png)
Title: Re: Adding variable on menu line
Post by: Ubaidullah on November 04, 2020, 07:58:01 AM
Can't you just display a string and put it where you want with CSS?

I could use a string. The real question is how do I place the string in this location with CSS ?

(http://oasestech.com/projects/images/menutextvar.png)

ps. Thanks for the tip regarding the img tag.

Regards,
Ubaidullah Nubar.
Title: Re: Adding variable on menu line
Post by: osquiabro on November 04, 2020, 08:24:55 AM
look BasicWithMenu(2)
Title: Re: Adding variable on menu line
Post by: Ubaidullah on November 05, 2020, 04:53:56 AM
look BasicWithMenu(2)

Thanks. That helped.

Regards,
Ubaidullah Nubar.