Current status of the Ning Platform is always available on the Ning Status Blog.

FORUM

Recipe Box for Social Web Site

Hey i found this Recipe Box widget for a blog page. I have it on my Blog site and it works fine. I though it might work for me on my Ning HTML box, but the text that i fill in for the name of the recipes does not show. The boxes and title show up fine, but no text in the boxes. Any thoughts?

<div class="clear"></div>
<div id="HTML2" class="widget HTML">
<h2 class="title">Recipes (or add your own index title)</h2>
<div class="widget-content">

<select onchange="self.location.href=''+this.options[this.selectedIndex].value+''" style="width:222px" class="tinyselect">
<option value="" /> name of first category ie pasta
<option value="recipe url" /> name of recipe
<option value="recipe url" /> name of recipe
<option value="recipe url" /> name of recipe
<option value="recipe url" /> name of recipe
<option value="recipe url" /> name of recipe
<option value="recipe url" /> name of recipe
<option value="recipe url" /> name of recipe
<option value="recipe url" /> name of recipe
<option value="recipe url" /> name of recipe
<option value="recipe url" /> name of recipe

</select> always end each category with this

</div></div><strong></strong><strong></strong> this is the end of the index

You need to be a member of Ning Creators Social Network to add comments!

Join Ning Creators Social Network

Email me when people reply –

Replies

  • Hello Randy :)
    It's working perfectly for me in an HTML box.


    <div class="clear"></div>
    <div id="HTML2" class="widget HTML">
    <h2 class="title">Recipes (or add your own index title)</h2>
    <div class="widget-content">
    <p><select onchange="self.location.href=''+this.options[this.selectedIndex].value+''" style="width: 222px;" class="tinyselect">
    <option value="recipe url">t1</option>
    <option value="recipe url">t2</option>
    <option value="recipe url">t3</option>
    <option value="recipe url">t4</option>
    <option value="recipe url">t5</option>
    <option value="recipe url">t6</option>
    <option value="recipe url">t7</option>
    <option value="recipe url">t8</option>
    <option value="recipe url">t9</option>
    <option value="recipe url">t10</option>
    <option value="recipe url">t11</option>
    </select></p>
    </div>
    </div>
    <p> </p>

    1064517454.jpeg?width=598

    • Ah. I see now. It's working. Thanks George.

  • Hey George or anyone. I was trying to add a picture above each category box in the recipe box code, but it didn't work. Here is the code i was trying to add, but not sure how to write it in.

    <p><a target="https://api.ning.com/files/*tHd*uipNJA-TEBDuoLN4r8US14U3EAToKsc5BPogXqBgdgxyACB6aSs02lk8NpUX2sF5aD1pmZK83LFplw5nwhcbSxx0xfU/1064517523.jpeg"><img class="align-center" src="https://api.ning.com/files/*tHd*uipNJA-TEBDuoLN4r8US14U3EAToKsc5BPogXqBgdgxyACB6aSs02lk8NpUX2sF5aD1pmZK83LFplw5nwhcbSxx0xfU/1064517523.jpeg" width="180" /></a></p>
    <p></p>

  • Hello Randy :)
    use this code instead I misstated a divide Wednesday..  It looks better with the divide.. LOL

    <div class="clear">
    <div id="HTML2" class="widget HTML">
    <h2 class="title">Recipes (or add your own index title)</h2>
    <div class="widget-content">
    <p><select onchange="self.location.href=''+this.options[this.selectedIndex].value+''" style="width: 222px;" class="tinyselect">
    <option value="recipe url">t1</option>
    <option value="recipe url">t2</option>
    <option value="recipe url">t3</option>
    <option value="recipe url">t4</option>
    <option value="recipe url">t5</option>
    <option value="recipe url">t6</option>
    <option value="recipe url">t7</option>
    <option value="recipe url">t8</option>
    <option value="recipe url">t9</option>
    <option value="recipe url">t10</option>
    <option value="recipe url">t11</option>
    </select></p>
    </div>
    </div>
    </div>

    If you want the images bigger raise the padding top than mess with your background size percentages. The code goes in your design studio CSS section.
    Same image on all use this code..

    .tinyselect > option{
     padding-top:25px;
     background-image: url("https://api.ning.com/files/*tHd*uipNJBVSX1EOq*t4RX-X203FNNB1z2b8x42xSKEPcjtDNu9nzPsJZX0tmo3MzqdJiIagZiZ59CpA4K-gdc4eKzmFiKi/1064517586.jpeg")!important;
     background-size: 15% 50%!important;
     background-repeat: no-repeat;}
     


    if you want a different image for each one use this code below.. Just change the number (1) at the end of the lead-in for each one you will end up with 11 codes to do them all individually. There is 4 completed below just change the image links to whatever you want

     .tinyselect > option:nth-child(1){
     padding-top:25px;
     background-image: url("https://api.ning.com/files/*tHd*uipNJBVSX1EOq*t4RX-X203FNNB1z2b8x42xSKEPcjtDNu9nzPsJZX0tmo3MzqdJiIagZiZ59CpA4K-gdc4eKzmFiKi/1064517586.jpeg")!important;
     background-size: 15% 50%!important;
     background-repeat: no-repeat;}

     .tinyselect > option:nth-child(2){
     padding-top:25px;
     background-image: url("https://api.ning.com/files/*tHd*uipNJBVSX1EOq*t4RX-X203FNNB1z2b8x42xSKEPcjtDNu9nzPsJZX0tmo3MzqdJiIagZiZ59CpA4K-gdc4eKzmFiKi/1064517586.jpeg")!important;
     background-size: 15% 50%!important;
     background-repeat: no-repeat;}

     .tinyselect > option:nth-child(3){
     padding-top:25px;
     background-image: url("https://api.ning.com/files/*tHd*uipNJBVSX1EOq*t4RX-X203FNNB1z2b8x42xSKEPcjtDNu9nzPsJZX0tmo3MzqdJiIagZiZ59CpA4K-gdc4eKzmFiKi/1064517586.jpeg")!important;
     background-size: 15% 50%!important;
     background-repeat: no-repeat;}

     .tinyselect > option:nth-child(4){
     padding-top:25px;
     background-image: url("https://api.ning.com/files/*tHd*uipNJBVSX1EOq*t4RX-X203FNNB1z2b8x42xSKEPcjtDNu9nzPsJZX0tmo3MzqdJiIagZiZ59CpA4K-gdc4eKzmFiKi/1064517586.jpeg")!important;
     background-size: 15% 50%!important;
     background-repeat: no-repeat;}

    1064517589.jpeg?width=498

    • Hi George. Thanks, this is great only i wanted the pictures outside the boxes. Just above each box. Can that be done?

      • Something like this.

        1064551668.jpeg

        • With the app you're using as soon as you select one it directs you to a new page it wouldn't make any sense to write the Java to have an image show up like that. It may not even load before the page changes. May I suggest another CSS hover effect..

           


          .tinyselect > option:nth-child(1):hover{
            background-image: url("https://api.ning.com/files/*tHd*uipNJCIUY5NvDMCRZSF3yDDKqnb5tD3VivI-uCgyxFTwJc-JOSqM3GpYGiM-m7zWJcsGXjuMjriJGAKNzhhGA0RqccR/1064554694.jpeg")!important;
            background-size: 45% 100%!important;
            background-repeat: no-repeat;
            background-position: 100% 0px;
            padding-top:50px!important;  }

          1064554699.jpeg?width=308

          When you hover your mouse over one of the tabs it'll show up like this.

          1064554702.jpeg?width=308

          • That would work. I like that one. :)

            • That works great George. Dose it matter what size picture i use? Should i keep it the size i have now? The pic is 180x180.

              Also i have three holiday pages that i would like to use a recipe box for each page, but with different pictures. Would i target like this?

              .page-christmas-lane .tinyselect > option:nth-child(1):hover{

              • Oops nope. I just saw what i have to do to target the pic's. Let me see if i can do it. Learning on the job. lol.

This reply was deleted.

Announcements

 

Some interesting articles related to community management, digital marketing etc. could be found in our digest. Don't hesitate to leave a feedback so we would know that we should continue :-)

Latest Activity

Anastasia_Ning_Support replied to Fernando Bisbal's discussion
Congratulate birthday
"Hello Fernando!
I think this would be a very nice and pleasant surprise, I love it! 
I hope our Pro…"
4 hours ago
Anastasia_Ning_Support replied to Scott Bishop's discussion
Mobile Upload to Branded Video Player
"Hello Scott!
Yes, you are right, SSL does not favor flash players and it automatically blocks it on…"
5 hours ago
Emin Schmidt left a comment on German Network Creators
"Das ist ja zum verzeifeln hier, in 3 Jahren hat mir niemad geantwortet hier, also wenn jemand hier…"
7 hours ago
Jonas Premier updated their profile
9 hours ago
⚡JFarrow⌁ replied to Anastasia_Ning_Support's discussion
What’s new on NING?
"Yes.... i don't see the search features enabled for my site.. it shows on Videos but not photos, fo…"
20 hours ago
Dr Husky (Emalejandro) replied to Dr Husky (Emalejandro)'s discussion
I need upload ads.txt
"Very very thanks :)"
23 hours ago
Anastasia_Ning_Support replied to Anastasia_Ning_Support's discussion
What’s new on NING?
"Hello!
This update will bring the "Add content" button only for single type content module, but in…"
yesterday
Anastasia_Ning_Support replied to Anam's discussion
Comments on Profile Pages Do Not Appear in Latest Activity
"Hello Anam!
You are completely right, such functionality may possibly cause issues to the network o…"
yesterday
Anastasia_Ning_Support replied to Dr Husky (Emalejandro)'s discussion
I need upload ads.txt
"Hi!
Here is the link to edit your ads.txt https://revistadiscover.com/main/admin/adsTxt
Best regard…"
yesterday
Anastasia_Ning_Support replied to Anastasia_Ning_Support's discussion
What’s new on NING?
"Hello!
Only the "Add content" button was scheduled for release this week, the other 2 updates were…"
yesterday
Anastasia_Ning_Support replied to Anastasia_Ning_Support's discussion
What’s new on NING?
"Hello Rachella!
We will definitely bring a mobile application at some point, but I am afraid it wil…"
yesterday
⚡JFarrow⌁ replied to Anastasia_Ning_Support's discussion
What’s new on NING?
"me too"
yesterday
More…

Meanwhile, you can check our social media channels