POST
|
Hi @hoshijun, Yes, we do intentionally strip out input tags as they can be used in a way that could cause security risks. Our application does integrate with the Calcite Design System if you want to try using their accordions: https://developers.arcgis.com/calcite-design-system/components/accordion/
... View more
08-08-2023
07:39 AM
|
0
|
0
|
602
|
POST
|
If you're doing this in the Header CSS box then you don't need the <style></style> tags I reference above. If you're doing this in a Text Card on the site or page that displays below the header then you can put <style></style> tags in the HTML box, which signals to the browser that you're using embedded CSS. You'd then put your CSS rules between those style tags.
... View more
07-31-2023
10:52 AM
|
0
|
0
|
1322
|
POST
|
You should be able to use #navbar {position:fixed; top: 25px;} within your <style></style> to achieve a sticky effect. While there is a Boostrap class that does this, I would be wary of using it as people who've tried it in our application have found it often ends up affecting their ability to edit anything inside the layout editor because we also use the same class to position our edit navbar and there's a bit of conflict between the two. The top property is adjustable. I simply chose that number because it leaves space for the global navbar (22px) if you have that enabled.
... View more
07-31-2023
06:20 AM
|
0
|
2
|
1329
|
POST
|
That is not an ArcGIS Hub Site. It's a WordPress site. It simply has the word 'hub' in its name. Based on their code, it looks like they are using an auto-play video embed, which as I have previously explained, we do not support. If you wish to see how a site is operating or want to compare it to your own, you can right-click the webpage and then select Inspect to open up the source code for HTML and CSS.
... View more
07-31-2023
06:12 AM
|
0
|
0
|
1351
|
POST
|
If you have a row set to layout: box, the max width of the row is 1170px with 15px of padding on either side. If you are using layout: wide, then the max width of the row will be the width of the viewport (browser) minus 15px of padding on either side. But the grid is responsive, so if you adjust your viewport, then the grid will resize, which will shrink the row width and possibly the application width depending on how you have your application configured. If you have used HTML to force a 400px width on the application card, then you may see no changes. If you are using an application card with a spacer card, then the application card may grow smaller to maintain an ~50% layout. If you are using an application card and the spacer card is hidden on mobile, then the application card will expand to fill the full-width of the row and will be the size of the viewport.
... View more
07-28-2023
02:06 PM
|
0
|
0
|
581
|
POST
|
I would recommend using media queries to target the different viewport sizes straight from within the style tags in your HTML code. The structure would be something like: #navbar { /* general CSS rules here */ @media (max-width: 560px) { /* mobile breakpoint - add CSS overrides */ } @media (max-width: 768px) { /* tablet breakpoint - add CSS overrides */ } } You have two ways of writing media queries. I'm using max-width, which means I have the desktop viewport CSS set first and then overrides for mobile and tablet. You can also use min-width if you are starting from a mobile first general CSS bucket.
... View more
07-28-2023
01:09 PM
|
0
|
4
|
1345
|
POST
|
No. If you have it autoplay, it's longer than 5 seconds. Gifs also technically require play / pause / hide controls when autoplaying or lasting longer than 5 seconds, which is why you don't see them frequency used in Hub either.
... View more
07-28-2023
10:21 AM
|
0
|
0
|
1362
|
POST
|
We do not support moving backgrounds in Hub as it goes against WCAG (Web Content Accessibility Guidelines). All moving content that lasts longer than five seconds requires controls to pause, stop, or hide the content and we do not have those types of controls for background images. https://www.w3.org/TR/UNDERSTANDING-WCAG20/time-limits-pause.html In addition, automatically moving content can be detrimental for those with vestibular disorders, which is why we don't even support auto-playing videos embedded through our video card.
... View more
07-28-2023
08:22 AM
|
1
|
3
|
1375
|
POST
|
You could take a look at this site and try to duplicate their floating button: https://alohachallenge.hawaii.gov/
... View more
07-25-2023
01:04 PM
|
0
|
7
|
1361
|
POST
|
We only rely on it for advanced DIY functionality. You can build a Hub site without code. This is an improvement from when I first started and you had to use markdown to build your whole site layout. Many of the features that used to require code in the early days of our site builder are now represented by actual layout cards and can be filled out through form fields. People do make some really nice sites using HTML & CSS, but that could be done with or without Hub. It is more related to their knowledge of HTML & CSS. I don't know off the top of my head if ESRI offers that type of training, but there are a lot of free resources on the web for learning the basics of HTML & CSS. I like https://css-tricks.com/guides/ If you look for the csstricks tag on some of my posts, I've published several posts with code snippets for some types of stylized cards and if you want basic components like buttons, we're starting to transition to the Calcite framework. (My one caveat about using these is that they are something called web components, which won't mean much to you at the moment. But in a nutshell, web components are easy to get up-and-running because they have a bunch of built in configurations, but they are very hard to style visually because they don't support CSS overwrites.) While we do use Bootstrap for our grid, it isn't really necessary to know, because the drag and drop editor can be used with grids and cards to automatically handle reflow. If you want a more thorough explanation of how the grid works, I give an overview of it in this post: https://community.esri.com/t5/arcgis-hub-questions/how-to-get-all-cards-in-a-text-box-to-dynamically/m-p/1169903/highlight/true#M5223 with a link to the Bootstrap documentation. You will not be able to do javascript within our application, because while our app is built using lot of javascript, embedding third party javascript is a security risk, so we don't allow it.
... View more
07-21-2023
08:25 AM
|
1
|
0
|
1346
|
POST
|
Yes, the only way to have a dynamically updating value is to connect the data as a feature layer or csv to the Hub statistic card. If you're asking for a way to manually enter values, that will be part of the Q3 update.
... View more
07-21-2023
06:53 AM
|
1
|
0
|
1351
|
POST
|
Assuming you have the data in your catalog, you should be able to follow these steps https://doc.arcgis.com/en/hub/sites/insert-charts-tables-and-key-metrics.htm#ESRI_SECTION1_E1D799DC433941CA9A3669F4322880D3 to connect your data to the statistics summary card.
... View more
07-21-2023
06:12 AM
|
1
|
2
|
1354
|
POST
|
Those are not flip cards. Those are non-dynamic KPI cards from this post: https://community.esri.com/t5/arcgis-hub-documents/tips-create-custom-cards-with-html/ta-p/920496 Flip cards are actually rather challenging to get right from a keyboard accessibility and focus management standpoint (we've tried), so it's unlikely you'd seen those in our editor. As for having a dynamically backed statistic card, we currently support this today with the statistic card in the layout editor. We are, however, working on some improvements to that card, which will give it a little appearance boost, amongst other requested features. You can expect to see these changes during Q3 this year.
... View more
07-20-2023
01:24 PM
|
2
|
4
|
1383
|
POST
|
Hello @Ed_, Unfortunately, you would need to do something fairly complex to make seven images look good in a 12-column grid and you would likely need to have a sound understanding of css-grid, flex-box and/or media queries. I don't have much experience with css-grid and while I did try a quick implementation of your premise using flexbox on my own site, it did not look good when content was forced to wrap on smaller devices. Flexbox doesn't do wrapping automatically and I think even if I did provide you with baseline code, you wouldn't like the output. As you've stated that you aren't familiar with editing HTML, I think you would find it difficult to modify and I think you will have a better look if you use spacers. You may also try searching this forum for people who've done similar grid implementations and see if there's anything you want to try out.
... View more
07-05-2023
07:59 AM
|
1
|
1
|
1120
|
POST
|
@Ed_ Yes, I understand it's not ideal. However, until we redo our grid structure, which is a large-scale effort that is in fact on our radar, we're limited in how we can handle card resizing and the total columns used by cards in a row must equal 12. And yes, if you do not wish to write HTML to achieve your desired affect in a single 12-column Text Card, I would advise the use of more spacers.
... View more
06-27-2023
01:38 PM
|
0
|
4
|
1159
|
Title | Kudos | Posted |
---|---|---|
1 | 3 weeks ago | |
1 | 01-12-2023 06:17 AM | |
1 | 08-09-2024 07:25 AM | |
1 | 08-07-2024 12:56 PM | |
1 | 04-18-2024 07:45 AM |
Online Status |
Offline
|
Date Last Visited |
a week ago
|