sketchucation logo sketchucation
    • Login
    1. Home
    2. PeeWeeHaa
    3. Posts
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    ⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update
    P
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Groups 1

    Posts

    Recent Best Controversial
    • Include paths

      Hi guys,
      I am pretty new to Sketchup, RubyScript and webdialogs and i encounter an issue with writing webdialogs. Not sure if this is the correct forum to post, but feel free to correct me...

      I am writing a webdialog that edits data and i need to include an external css script and library. I can manage that with a relative path using something like

      <link rel="stylesheet" href="../../../resources/css/webdialogs.css" />

      I would like to include it with an absolute path, something like

      <link rel="stylesheet" href="<myroot>/resources/css/webdialogs.css" />

      Is there a way to get this root from within the webdialog?

      posted in Developers' Forum
      P
      PeeWeeHaa
    • 1 / 1