Skip to main content

Forums

This topic contains 3 replies, has 2 voices, and was last updated by  Paddymaster 2 months, 4 weeks ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #279930

    Paddymaster
    Participant

    Hello,

    i’m not a javascript developer, but i tried to write a small script. Codesnipping from various sites :(.

    Well. I’ve a table in “Google spreadsheets” –> Link https://docs.google.com/spreadsheets/d/1XHKLxse9AC-bgapFLUy-4H_FCCi8X1YHZJJmtcEut9I/edit

    Every Entry should like a picture with additional attributes, like the first entry in google spreadsheets .

    I have create a table with 2 columns. All my entries in the table should like this code from me -> https://codepen.io/Paddymaster/pen/aQBWjK.

    Current i can import the text from google drive, but dont know how i can put the text into html code. Its an array from javascript.

    my current code

    #280010

    Paddymaster
    Participant

    nobody knows a good answer ?

    #280019

    JeroenR
    Participant

    I’m not sure what it is you’re asking for here, but when using vue, I don’t think you should be creating html elements with javascript, but use the ones in your template.
    So if you want to have the image being shown, then you can use <img></span> for rendering the image with the source instead of {{item.bild}}. Because the latter just outputs text. You don’t have to create an image element yourself for this, just change this in the template.

    #283305

    Paddymaster
    Participant

    Well.
    I want to display the pictures. In the Google sheets are the links.
    also are the tags and description.

    my code is

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

icon-link icon-logo-star icon-search icon-star