NetTalk Central

Author Topic: Adding variable on menu line  (Read 4552 times)

Ubaidullah

  • Full Member
  • ***
  • Posts: 125
    • View Profile
Adding variable on menu line
« 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.
« Last Edit: November 04, 2020, 05:06:10 AM by Ubaidullah »

Jane

  • Sr. Member
  • ****
  • Posts: 372
  • Expert on nothing with opinions on everything.
    • View Profile
    • Email
Re: Adding variable on menu line
« Reply #1 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.


This image hosted on my website works fine with the tag:
« Last Edit: November 04, 2020, 07:00:49 AM by Jane »

Ubaidullah

  • Full Member
  • ***
  • Posts: 125
    • View Profile
Re: Adding variable on menu line
« Reply #2 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 ?



ps. Thanks for the tip regarding the img tag.

Regards,
Ubaidullah Nubar.

osquiabro

  • Hero Member
  • *****
  • Posts: 687
    • View Profile
    • Email
Re: Adding variable on menu line
« Reply #3 on: November 04, 2020, 08:24:55 AM »
look BasicWithMenu(2)

Ubaidullah

  • Full Member
  • ***
  • Posts: 125
    • View Profile
Re: Adding variable on menu line
« Reply #4 on: November 05, 2020, 04:53:56 AM »
look BasicWithMenu(2)

Thanks. That helped.

Regards,
Ubaidullah Nubar.