real-time html links on github pages? - javascript

Is there a way you could render links as a streaming data input w/ css/html or js?
Ex: say you have 10 github repos. and you want them all to appear on your webpage in a dropdown(as a series of links). Then user deletes one so only 9 should appear. Is there a name for this or is this possible? *assuming this is being done with github pages.

Related

Javascript, cannot change product pages dynamically

I am teaching myself Javascript at the moment and I am creating a small website project for fun. My issue is:
I have a homepage that has a button in a navbar called "Products". When I press it, I am redirected in a page where I have a grid layout with 5-6 categories (as images). When I press the images, I am redirected to the relevant products. For example Products > Cars > Fiesta 2009 and more cars.
The thing is that for every different product category I have a different HTML page, but I know that I can just have an HTML page and change its content dynamically(DOM). Is there a good guide that describes this specific functionality? I have tried many different approaches but I don't really know how to do that and my site doesn't work.
Posting it after 15 hours on working on my code and not finding a solution myself*
You can consider using a UI framework/library such as ReactJS, Angular ...
Then use a routing handler (react-router, #angular/router ...).
Another alternative is to use plain javascript (VanillaJS).
I submitted a sample few days ago nearly around this topic.

How to show Multiple page having same content.?

I am creating a simple website which basic e-commerce website.it consist of product dropdown.on which multiple products display.like this.
My question is I have to make html pages for every product?(Keeping in mind layout and everything is same just content is different).
Is there any solution i can make only single page.and display product when i click on particular category.

Is there a way that I can autopopulate my webpage with pictures from another website?

I'm making a simple website (think of it as wikipedia without the text), where the users click links to people's names and then go to that person's personal page. I would like to be able to have an image of the person also show up on the personal page, but I don't want to hard code the links to the images or save them on my computer.
Is there a way that I can get the top search result from Google images and then copy that link to put into each page dynamically?
I would suggest using the google api (Google image search api ), pull a search on page load for the user, parse the json for the "unescapedUrl" and use that as your img src attribute.

how to add a topics to the website without editing the code

Hi guys i have a web site, there is a content I want let admin editing it "TEXT and pictures" without having to edit the code in order to add some topics,how i can do that i'm using ASP.net with c# is there to add a box like the box of inserting topic in stackoverflow
What you're saying is what a CMS (Content Management System) is for, and it seems that your website is just a simple website.
There's plenty of CMS options out there, since Wordpress (PHP) to the Umbraco (.NET) - plenty more on Google - and you need to shape your website into one of them, or, if you want to have the work... you need to develop your own system... add those textboxes and image selectors, save the choices to a database, and show the text and images from those saved choices...
best option is actually set up an empty CMS and replicate what you currently have, it's easier and you will get all from the start.

Is there a way to show two images simultaneously with a JavaScript image gallery?

I'm trying to create a comic book reader using JavaScript where the content of the gallery is dynamically generated from the images in a given directory (directory is chosen with a bit of PHP). I want to display two pages (images) at a time so the comic is read like it would be in a book format. Users are then able to navigate two pages at a time with their arrow keys.
So far I can only get one page to load and view at any given time.
How can I do this? I don't want to have to hard-code every gallery.
Maybe you could generate a directory listing with PHP and put it into the javascript on the page?

Categories

Resources