sketchucation logo sketchucation
    • Login
    1. Home
    2. PeeWeeHaa
    3. Posts
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
    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